Matthew Barnett <pyt...@mrabarnett.plus.com> added the comment:

Alex is correct.

This part:

    [^<>]*

can match an empty string, and it's nested with a repeated group. It stalls, 
repeatedly matching an empty string.

Incidentally, my regex implementation (available on PyPI) returns [].

----------

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

Reply via email to