[New-bugs-announce] [issue19322] Python crashes on re.search in new regex module.

David report at bugs.python.org
Mon Oct 21 05:26:24 CEST 2013


New submission from David:

Python crashes while executing the following code using the new regex module. Have I made a mistake?

import regex as re
rx = re.compile(r'\bt(est){i<2}', flags=re.V1)
print "Prints here"
rx.findall("Some text") # Python crashes
print "Fails to print"

I get the same results using 64-bit and 32-bit Python on Windows 7 (64bit) when using regex-2013-10-04 and regex-2013-08-04. However, the code does not crash when using regex-2013-03-11.

----------
components: Regular Expressions
messages: 200690
nosy: cronkd, ezio.melotti, mrabarnett
priority: normal
severity: normal
status: open
title: Python crashes on re.search in new regex module.
type: crash
versions: Python 2.7

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


More information about the New-bugs-announce mailing list