[issue1160] Medium size regexp crashes python

Matthew Barnett report at bugs.python.org
Wed Feb 10 04:22:50 CET 2010


Matthew Barnett <python at mrabarnett.plus.com> added the comment:

As stated in msg73781, this is being addressed in issue #2636.

My regex module handles the test case without complaint:

>>> import regex
>>> r = regex.compile('|'.join('%d'%x for x in range(7000)))
>>> r.match("1000")
<_regex.REGEX_Match object at 0x015D2920>
>>> r.match("6999")
<_regex.REGEX_Match object at 0x016DDC20>

----------
nosy: +mrabarnett

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


More information about the Python-bugs-list mailing list