mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
Fix typos (#123775)
This commit is contained in:
parent
df4f0cbfad
commit
9017b95ff2
43 changed files with 59 additions and 59 deletions
|
@ -2503,7 +2503,7 @@ class ReTests(unittest.TestCase):
|
|||
self.assertEqual(re.search(r'12(?!)|3', '123')[0], '3')
|
||||
|
||||
def test_character_set_any(self):
|
||||
# The union of complementary character sets mathes any character
|
||||
# The union of complementary character sets matches any character
|
||||
# and is equivalent to "(?s:.)".
|
||||
s = '1x\n'
|
||||
for p in r'[\s\S]', r'[\d\D]', r'[\w\W]', r'[\S\s]', r'\s|\S':
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue