3 ms·
On a related note, if you have Python regex code that you want to make more stable/performant, https://pypi.org/project/pyre2/ https://pypi.org/project/pyre2/ i
by btown 4y ago
On a related note, if you have Python regex code that you want to make more stable/performant, https://pypi.org/project/pyre2/ https://pypi.org/project/pyre2/ is a drop-in replacement for `re` that (configurably) falls back to `re` if you use lookaheads, etc.
The design philosophy behind RE2 for those unfamiliar with the library: https://github.com/google/re2/wiki/WhyRE2 https://github.com/google/re2/wiki/WhyRE2