What steps will reproduce the problem?
>>> import regex
>>> print(regex.search("(a|)*\\d", "a"*80))
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "C:\Python32\3.2.2.20120129\lib\site-packages\regex.py", line 236, in sea
rch
concurrent)
MemoryError
>>>
What is the expected output? What do you see instead?
>>> import regex
>>> print(regex.search("(a|)*\\d", "a"*80))
None
>>>
What version of the product are you using? On what operating system?
Windows XP Home SP3 (32-bit version)
Python 3.2.2 (default, Sep 4 2011, 09:51:08) [MSC v.1500 32 bit (Intel)] on win
32
regex 0.1.20120129
Please provide any additional information below.
Although I understand that this search may take a very long time, I guess that
this MemoryError should be fixed.
Original issue reported on code.google.com by msm...@gmail.com on 29 Jan 2012 at 4:27
Original issue reported on code.google.com by
msm...@gmail.com
on 29 Jan 2012 at 4:27