From fd036451bf0e0ade8783e21df801abf7be96d020 Mon Sep 17 00:00:00 2001 From: Antoine Pitrou Date: Tue, 19 Aug 2008 17:56:33 +0000 Subject: #2834: Change re module semantics, so that str and bytes mixing is forbidden, and str (unicode) patterns get full unicode matching by default. The re.ASCII flag is also introduced to ask for ASCII matching instead. --- Lib/test/re_tests.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Lib/test/re_tests.py') diff --git a/Lib/test/re_tests.py b/Lib/test/re_tests.py index 220301ad29..d314e200bb 100755 --- a/Lib/test/re_tests.py +++ b/Lib/test/re_tests.py @@ -667,4 +667,4 @@ tests.extend([ (r'\b.\b', 'a', SUCCEED, 'found', 'a'), (r'(?u)\b.\b', u, SUCCEED, 'found', u), (r'(?u)\w', u, SUCCEED, 'found', u), - ]) +]) -- cgit v1.2.1