Python regular expressions just ain't PCRE

Wiseman Wiseman1024 at gmail.com
Sat May 5 21:47:39 EDT 2007


On May 5, 10:06 pm, "sjdevn... at yahoo.com" <sjdevn... at yahoo.com> wrote:
> -1 on this from me.  In the past 10 years as a professional
> programmer, I've used the wierd extended "regex" features maybe 5
> times total, whether it be in Perl or Python.  In contrast, I've had
> to work around the slowness of PCRE-style engines by forking off  a
> grep() or something similar practically every other month.

I use these complex features every month on my job, and performance is
rarely an issue, at least for our particular application of PCRE.

By the way, if you're concerned about performance, you should be
interested on once-only subpatterns.





More information about the Python-list mailing list