[Python-bugs-list] [Bug #133283] Different re results in Python 2.0 and 2.1a2
noreply@sourceforge.net
noreply@sourceforge.net
Tue, 20 Feb 2001 09:52:22 -0800
Bug #133283, was updated on 2001-Feb-20 09:52
Here is a current snapshot of the bug.
Project: Python
Category: Extension Modules
Status: Open
Resolution: None
Bug Group: None
Priority: 5
Submitted by: kopfarzt
Assigned to : nobody
Summary: Different re results in Python 2.0 and 2.1a2
Details: The following program produces different results in Python2.0
(1.6, 1.5.2) and Python 2.1a2:
import re
rx = re.compile (r'"(?:\\"|[^"])*?"')
print rx.match (r'"\""').group (0)
(match a double quoted string with backslash escaped quotes)
Python 1.5.2, 1.6, 2.0: "\""
Python 2.1a2: "\"
Thanks
Peter
For detailed info, follow this link:
http://sourceforge.net/bugs/?func=detailbug&bug_id=133283&group_id=5470