summaryrefslogtreecommitdiff
path: root/Lib/test/re_tests.py
diff options
context:
space:
mode:
authorFredrik Lundh <fredrik@pythonware.com>2001-07-02 19:54:28 +0000
committerFredrik Lundh <fredrik@pythonware.com>2001-07-02 19:54:28 +0000
commit73f0eb77e350aafc313142f96dd3effd8ce92884 (patch)
tree6082549c2bce305fb1ba62974fa34a8dcdf6ce2b /Lib/test/re_tests.py
parent6e45baaf9e9aba5c764b3ece6f02d0cf69da0805 (diff)
downloadcpython-73f0eb77e350aafc313142f96dd3effd8ce92884.tar.gz
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...
Diffstat (limited to 'Lib/test/re_tests.py')
-rwxr-xr-xLib/test/re_tests.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/Lib/test/re_tests.py b/Lib/test/re_tests.py
index 7c5dc890d9..d69b324c54 100755
--- a/Lib/test/re_tests.py
+++ b/Lib/test/re_tests.py
@@ -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: