News for hackers. Stuff that matters.
Re:Regular Expression Engine in 14 lines of Python by Peaker on Sunday November 06, 2011 @09:59AM (#3202796)
regexps aren't regular, so most "proper" engines also do backtracking.

Indeed, if you stick with the regular subset, you can be really fast:

http://swtch.com/~rsc/regexp/regexp1.html

There are no comments on this comment yet.