diff --git a/Lib/test/test_re.py b/Lib/test/test_re.py index 7a741416b48..f415f3f8c4b 100644 --- a/Lib/test/test_re.py +++ b/Lib/test/test_re.py @@ -1270,6 +1270,9 @@ def test_inline_flags(self): q = p.match(upper_char) self.assertTrue(q) + self.assertTrue(re.match('(?ixu) ' + upper_char, lower_char)) + self.assertTrue(re.match('(?ixu) ' + lower_char, upper_char)) + def test_dollar_matches_twice(self): "$ matches the end of string, and just before the terminating \n" pattern = re.compile('$')