mirror of https://github.com/python/cpython
remove extra zero
This commit is contained in:
parent
4ab701b2d3
commit
b6596c516b
|
@ -199,7 +199,7 @@ def template(pattern, flags=0):
|
|||
return _compile(pattern, flags|T)
|
||||
|
||||
_alphanum = frozenset(
|
||||
"abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ01234567890")
|
||||
"abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789")
|
||||
|
||||
def escape(pattern):
|
||||
"Escape all non-alphanumeric characters in pattern."
|
||||
|
|
Loading…
Reference in New Issue