fast regex

Paul Rubin no.email at nospam.invalid
Tue May 11 03:08:13 EDT 2010


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.



More information about the Python-list mailing list