Description
Use Google's RE2 regular-expression engine from Python. It helps applications match patterns with an engine designed to avoid the catastrophic backtracking risks of some regular-expression implementations.
This is a developer library, not a search app. Pattern behavior differs from Python's default regex engine, so projects should test compatibility before replacing existing matching logic.