remove extra zero

This commit is contained in:
Benjamin Peterson 2012-02-21 08:08:29 -05:00
parent 4ab701b2d3
commit b6596c516b
1 changed files with 1 additions and 1 deletions

View File

@ -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."