Minor code clean up and improvements in the re module.

This commit is contained in:
Serhiy Storchaka 2014-11-11 21:13:28 +02:00
parent 9a64ccb997
commit ab14088141
4 changed files with 13 additions and 17 deletions

View file

@ -1101,8 +1101,8 @@ class ReTests(unittest.TestCase):
def test_inline_flags(self):
# Bug #1700
upper_char = chr(0x1ea0) # Latin Capital Letter A with Dot Bellow
lower_char = chr(0x1ea1) # Latin Small Letter A with Dot Bellow
upper_char = '\u1ea0' # Latin Capital Letter A with Dot Below
lower_char = '\u1ea1' # Latin Small Letter A with Dot Below
p = re.compile(upper_char, re.I | re.U)
q = p.match(lower_char)