(original) (raw)

changeset: 103592:842e75f0e592 branch: 3.5 parent: 103585:3ed2c0d55526 user: Serhiy Storchaka storchaka@gmail.com date: Sun Sep 11 01:39:51 2016 +0300 files: Lib/test/test_re.py description: Backported tests for issue #28070. diff -r 3ed2c0d55526 -r 842e75f0e592 Lib/test/test_re.py --- a/Lib/test/test_re.py Sat Sep 10 16:24:54 2016 -0400 +++ b/Lib/test/test_re.py Sun Sep 11 01:39:51 2016 +0300 @@ -1270,6 +1270,9 @@ 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('$') /storchaka@gmail.com