
I Built a Regex Engine in About 100 Lines of Python
What happens when you build your own regular expression engine? I wrote one in just 96 lines of Python using Thompson’s NFA algorithm. It su...

What happens when you build your own regular expression engine? I wrote one in just 96 lines of Python using Thompson’s NFA algorithm. It su...