News for hackers. Stuff that matters.
Re:My favorite regex of all time by baddox on Tuesday November 13, 2012 @02:34AM (#4776899)
I'm not a big fan of your explanation. To be more precise, true "regular expressions" are computationally equivalent to deterministic finite automata, which indeed can test an n-character string in O(n) time.
Re:My favorite regex of all time by MileyCyrax on Tuesday November 13, 2012 @03:48AM (#4777087)
NFAs and DFAs both recognise the regular languages (and only them).