Backported tests for issue #28070.
This commit is contained in:
parent
d92cecb9f1
commit
cc66a6528d
|
@ -1270,6 +1270,9 @@ class ReTests(unittest.TestCase):
|
|||
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('$')
|
||||
|
|
Loading…
Reference in New Issue