Cool! Can this be included with Python plz :)
Repository
Wasserpuncher/rejit
rejit
A linear-time regular-expression engine (Pike VM) built from scratch. Immune to ReDoS: on (a+)+$ Python's re grows exponentially while rejit stays flat. Every CI run cross-checks 10,000 generated pattern/text pairs against re — zero disagreements.
2stars
Wasserpuncher/rejit
rejit
A pure Python regular-expression engine using a Pike VM that matches in guaranteed linear time and is immune to ReDoS.
Visit project- First shared
- Jul 13, 2026
- HN activity
- 31
Show HN@WasserpuncherJul 13, 2026
Show HN: Rejit – a regex engine that can't be ReDoS'd (Pike VM, pure Python)
A regular-expression engine built from scratch that matches in guaranteed linear time — so it cannot be ReDoS'd.
Community