Lawrence D'Oliveiro <ldo at geek-central.gen.new_zealand> writes: > “Fast regex” is a contradiction in terms. You use regexes when you want ease > of definition and application, not speed. > > For speed, consider hand-coding your own state machine. Preferably in a > compiled language like C. But, nothing stops a regexp library from doing that, and some of them do.