guiguan.net
A Beautiful Linear Time Python Regex Matcher via NFA
I came across a problem on leetcode a few days ago. It asked me to implement a simple regex (regular expression) matcher which supports both [crayon-5d379ffa1d4a0881547706-i/] and [crayon-5d379ffa1…