This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Title: Python crashes on in new regex module.
Type: crash Stage: resolved
Components: Regular Expressions Versions: Python 2.7
Status: closed Resolution: not a bug
Dependencies: Superseder:
Assigned To: Nosy List: cronkd, ezio.melotti, mrabarnett, ned.deily
Priority: normal Keywords:

Created on 2013-10-21 03:26 by cronkd, last changed 2022-04-11 14:57 by admin. This issue is now closed.

Messages (2)
msg200690 - (view) Author: David (cronkd) Date: 2013-10-21 03:26
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.
msg200695 - (view) Author: Ned Deily (ned.deily) * (Python committer) Date: 2013-10-21 04:51
The regex module is a third-party project and is not part of the Python standard library.  I suggest you open an issue on the issue tracker for the project and include more detailed information about the problem:
Date User Action Args
2022-04-11 14:57:52adminsetgithub: 63521
2013-10-21 04:51:23ned.deilysetstatus: open -> closed

nosy: + ned.deily
messages: + msg200695

resolution: not a bug
stage: resolved
2013-10-21 03:26:24cronkdcreate