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 <[email protected]>
<http://bugs.python.org/issue19322>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com