[Python-Dev] (no subject)

Yogev Hendel yogev at intsights.com
Tue Dec 26 02:01:48 EST 2017


I don't know if this is the right place to put this,
but I've found the following lines of code results in an incredibly long
processing time.
Perhaps it might be of use to someone.

*import re*
*pat = re.compile('^/?(?:\\w+)/(?:[%\\w-]+/?)+/?$')*
*pat.match('/t/a-aa-aa-aaaaa-aa-aa-aa-aa-aa-aa./')*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-dev/attachments/20171226/77825d8d/attachment.html>


More information about the Python-Dev mailing list