Jacques Grove <jacq...@tripitinc.com> added the comment:

Thanks, issue2636-20101228a.zip also resolves my compilation speed issues I had 
on other (very) complex regexes.

Found this one:

re.search("(X.*?Y\s*){3}(X\s*)+AB:", "XY\nX Y\nX  Y\nXY\nXX AB:")

produces a search hit with stock python 2.6.5 regex library, but not with 
issue2636-20101228a.zip.

re.search("(X.*?Y\s*){3,}(X\s*)+AB:", "XY\nX Y\nX  Y\nXY\nXX AB:")

matches on both, however.

----------

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

Reply via email to