erikrose / parsimonious

The fastest pure-Python PEG parser I can muster
MIT License
1.79k stars 126 forks source link

consider additional regex flags #198

Open lonnen opened 2 years ago

lonnen commented 2 years ago

The regex library offers a number of additional flags over the builtin re library.

https://pypi.org/project/regex/#flags

The unicode flag was removed from re in Python 3 but functions in regex. Without it regex will check the type first and try to do the right thing. Some of the other flags, like REVERSE or ASCII may be useful. Maybe even the fuzzy matching flags.

Needs investigation