by gitgud · 8y ago · 0 comments
Nowadays there are good DFA or Tree based matching algorithms that are O(mn) where m is the length of the regular expression and n is the length of the input.
https://en.wikipedia.org/wiki/Finite-state_machine#Acceptors...