A crap NFA-based text-directed regex engine written for fun (beta)
To test:
python regex.py
Currently only parses a subset of the POSIX regex spec
Supports most of the POSIX BRE spec, including variable-width lookarounds †
What it doesn't support (yet):
- Capture groups
- Backreferences
† negative lookarounds are greedy, i.e they'll reject if the expression is found anywhere ahead of (resp. behind) the current pos