regular expressions ... slow
Gabriel Genellina
gagsl-py2 at yahoo.com.ar
Mon Nov 17 19:37:11 EST 2008
En Mon, 17 Nov 2008 19:37:18 -0200, Uwe Schmitt
<rocksportrocker at googlemail.com> escribió:
> Is anobody aware of this post: http://swtch.com/~rsc/regexp/regexp1.html
> ?
>
> Are there any plans to speed up Pythons regular expression module ?
> Or
> is the example in this artricle too far from reality ???
It's a pathological case. There are some known cases of horrible behaviour
that are explained in many books on regular expressions. If you avoid
those constructs when writing the RE, you're reasonably safe. I for
myself avoid using RE at all :)
--
Gabriel Genellina
More information about the Python-list
mailing list