mirror of
https://github.com/python/cpython.git
synced 2025-12-15 21:44:50 +00:00
remove extra zero
This commit is contained in:
parent
4ab701b2d3
commit
b6596c516b
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue