(*choices)
| 59 | |
| 60 | def group(*choices): return '(' + '|'.join(choices) + ')' |
| 61 | def any(*choices): return group(*choices) + '*' |
| 62 | def maybe(*choices): return group(*choices) + '?' |
| 63 | |
| 64 | # Note: we use unicode matching for names ("\w") but ascii matching for |
no test coverage detected