mirror of
https://github.com/python/cpython.git
synced 2025-11-25 04:34:37 +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
|
|
@ -638,6 +638,8 @@ xyzabc
|
|||
(r'(?i)[m]+', 'MMM', SUCCEED, 'found', 'MMM'),
|
||||
# bug 130748: ^* should be an error (nothing to repeat)
|
||||
(r'^*', '', SYNTAX_ERROR),
|
||||
# bug 133283: minimizing repeat bug
|
||||
(r'"(?:\\"|[^"])*?"', r'"\""', SUCCEED, 'found', r'"\"'),
|
||||
]
|
||||
|
||||
try:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue