Matthew Barnett added the comment:

It takes a long time due to excessive backtracking.

The regex implementation on PyPI finishes quickly because it contains some 
extra logic to reduce the chances of that happening, but it could be tricky 
trying to incorporate that into the existing re module.

Unless someone else wants have a go, it's probably best to mark this as "won't 
fix".

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue19994>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to