mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
reapplied darryl gallion's minimizing repeat fix. I'm still not 100%
sure about this one, but test #133283 now works even with the fix in place, and so does the test suite. we'll see what comes up...
This commit is contained in:
parent
cb9be93955
commit
df781e6a3f
3 changed files with 4 additions and 2 deletions
|
@ -245,7 +245,7 @@ if verbose:
|
|||
# implementation of repeated groups.
|
||||
test("sre.match('(x)*', 50000*'x').span()", (0, 50000), RuntimeError)
|
||||
test("sre.match(r'(x)*y', 50000*'x'+'y').span()", (0, 50001), RuntimeError)
|
||||
test("sre.match(r'(x)*?y', 50000*'x'+'y').span()", (0, 50001), RuntimeError)
|
||||
test("sre.match(r'(x)*?y', 50000*'x'+'y').span()", (0, 50001))
|
||||
|
||||
from re_tests import *
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue