You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Sep 14, 2018. It is now read-only.
No method 'scanner'. This method is used in test_re.py
ISSUE #2
import re
m = re.match(";(?Pfirst) (?Psecond)";, ";first second";)
m.expand(r";\2 \1 \g \g";)
'second first '
Expected:
m = re.match(";(?Pfirst) (?Psecond)";, ";first second";)
m.expand(r";\2 \1 \g \g";)
'second first second first'
ISSUE #3
import re
re.match(r";(a)(?=\s\1)";, ";a a";).group(1)
Traceback (most recent call last):
File , line 0, in input##16
AttributeError: 'NoneType' object has no attribute 'group'
Original CodePlex Issue:Issue 23666 Status: Active Reason Closed: Unassigned Assigned to: Unassigned Reported on: Jul 27, 2009 at 11:08 PM Reported by: dfugate Updated on: Feb 22, 2013 at 2:13 AM Updated by: jdhardy Custom value: Reported internally at Microsoft. CreatedDate: 4/26/2006 NewInternalID: 409450 OldInternalID: 148397 AreaPath: IronPython\Modules\RegEx
The text was updated successfully, but these errors were encountered:
ISSUE #1
No method 'scanner'. This method is used in test_re.py
ISSUE #2
import re
m = re.match(";(?Pfirst) (?Psecond)";, ";first second";)
m.expand(r";\2 \1 \g \g";)
'second first '
Expected:
m = re.match(";(?Pfirst) (?Psecond)";, ";first second";)
m.expand(r";\2 \1 \g \g";)
'second first second first'
ISSUE #3
import re
re.match(r";(a)(?=\s\1)";, ";a a";).group(1)
Traceback (most recent call last):
File , line 0, in input##16
AttributeError: 'NoneType' object has no attribute 'group'
Expected:
re.match(r";(a)(?=\s\1)";, ";a a";).group(1)
'a'
ISSUE #4
test_re.py needs pickling...this is the test:
def test_pickling(self):
ISSUE #5
Expected:
re.split(";(:*)";, ";:a:b::c";, 2)
['', ':', 'a', ':', 'b::c']
Work Item Details
Original CodePlex Issue: Issue 23666
Status: Active
Reason Closed: Unassigned
Assigned to: Unassigned
Reported on: Jul 27, 2009 at 11:08 PM
Reported by: dfugate
Updated on: Feb 22, 2013 at 2:13 AM
Updated by: jdhardy
Custom value: Reported internally at Microsoft.
CreatedDate: 4/26/2006
NewInternalID: 409450
OldInternalID: 148397
AreaPath: IronPython\Modules\RegEx
The text was updated successfully, but these errors were encountered: