diff options
author | Fredrik Lundh <fredrik@pythonware.com> | 2001-07-02 19:54:28 (GMT) |
---|---|---|
committer | Fredrik Lundh <fredrik@pythonware.com> | 2001-07-02 19:54:28 (GMT) |
commit | df781e6a3f05f84015ffc1f354a95c29dcababe2 (patch) | |
tree | 1bcd76ffdca700aad1a1ba2699491d0c5ca8d0b2 /Lib/test/re_tests.py | |
parent | cb9be939559474b20283e43d3e9cd43fc30f1ef1 (diff) | |
download | cpython-df781e6a3f05f84015ffc1f354a95c29dcababe2.zip cpython-df781e6a3f05f84015ffc1f354a95c29dcababe2.tar.gz cpython-df781e6a3f05f84015ffc1f354a95c29dcababe2.tar.bz2 |
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-x | Lib/test/re_tests.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Lib/test/re_tests.py b/Lib/test/re_tests.py index 7c5dc89..d69b324 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: |