again tokenize simplifications
This commit is contained in:
1 parent
18dc92f85f
commit
5740c45791
2 files changed
+1
-4
No files matched your search
@@ -107,10 +107,6 @@ def group(*choices):
|
||||
return '(' + '|'.join(choices) + ')'
|
||||
|
||||
|
||||
def any(*choices):
|
||||
return group(*choices) + '*'
|
||||
|
||||
|
||||
def maybe(*choices):
|
||||
return group(*choices) + '?'
|
||||
|
||||
|
||||
Reference in new issue
Block a user