News for hackers. Stuff that matters.
Re:Python's Hidden Regular Expression Gems (2015) by fernly on Tuesday May 23, 2017 @12:19AM (#14398772)
Couple relevant links. "regex"[1] is an upward-compatible "re" replacement with better performance and many added features including fuzzy matching.

Second, the tokenizer technique of stacked expressions described in the OP is also documented in the Python re module doc[2], at least conceptually.

[1] https://pypi.python.org/pypi/regex/2017.04.29 [2] https://docs.python.org/3.5/library/re.html#writing-a-tokeni...

There are no comments on this comment yet.