[issue3128] Regex causes python to hang up? / loop infinite?

Amaury Forgeot d'Arc report at bugs.python.org
Tue Jun 17 09:52:11 CEST 2008


Amaury Forgeot d'Arc <amauryfa at gmail.com> added the comment:

To optimize your query, you could remove '^.*' and '.*$', and replace
match() with search().
Now it returns instantly...

----------
nosy: +amaury.forgeotdarc

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue3128>
_______________________________________


More information about the Python-bugs-list mailing list