diff options
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 9daf8c4..aacd916 100755 --- a/Lib/test/re_tests.py +++ b/Lib/test/re_tests.py @@ -636,4 +636,6 @@ xyzabc (r'(?i)m+', 'MMM', SUCCEED, 'found', 'MMM'), (r'(?i)[M]+', 'MMM', SUCCEED, 'found', 'MMM'), (r'(?i)[m]+', 'MMM', SUCCEED, 'found', 'MMM'), + # bug 130748: ^* should be an error (nothing to repeat) + (r'^*', '', SYNTAX_ERROR), ] |