commit | b6596c516bcb4de4abf5722159d9aa3bff680173 | [log] [tgz] |
---|---|---|
author | Benjamin Peterson <benjamin@python.org> | Tue Feb 21 08:08:29 2012 -0500 |
committer | Benjamin Peterson <benjamin@python.org> | Tue Feb 21 08:08:29 2012 -0500 |
tree | 11548bd1b7317663d39b7d8cfc9c9905de91c856 | |
parent | 4ab701b2d30f1975bbea837234f6dfe52785c3d5 [diff] |
remove extra zero
diff --git a/Lib/re.py b/Lib/re.py index 3934f49..aab5d37 100644 --- a/Lib/re.py +++ b/Lib/re.py
@@ -199,7 +199,7 @@ return _compile(pattern, flags|T) _alphanum = frozenset( - "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ01234567890") + "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789") def escape(pattern): "Escape all non-alphanumeric characters in pattern."