Regex was built in 1968 to never hang, and the engines in Python, Java and Perl that can freeze on (a+)+$ walked away from it
lockergnome.comRegex was built in 1968 to never hang, and the engines in Python, Java and Perl that can freeze on (a+)+$ walked away from itThompson's compiled-to-machine-code approach ran on the IBM 7094; the engines that left it cannot do backreferences cheaply, and that is the trade Cox says the industry got wrong.
