Finite automata and implementing a regex engine in Python

An example implementation of a NFA based regular expression engine.