[issue12177] re.match raises MemoryError
EungJun Yi
report at bugs.python.org
Thu May 26 06:46:06 CEST 2011
EungJun Yi <semtlenori at gmail.com> added the comment:
This also raises in 2.6.5
Python 2.6.5 (r265:79063, Apr 16 2010, 13:09:56)
[GCC 4.4.3] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import re
>>> re.match('()+?1', 'a1')
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/usr/lib/python2.6/re.py", line 137, in match
return _compile(pattern, flags).match(string)
MemoryError
----------
versions: +Python 2.6
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue12177>
_______________________________________
More information about the Python-bugs-list
mailing list