"software/unstable/punbb/software.cfg" did not exist on "67bc2925ed3d687611e1363a43a0b26cfd0a1712"
Commit 5a8e4501 authored by Stefan Behnel's avatar Stefan Behnel

fix nice_identifier regex

parent 91c8955c
......@@ -289,7 +289,7 @@ class PyObjectConst(object):
possible_unicode_identifier = re.compile(ur"(?![0-9])\w+$", re.U).match
possible_bytes_identifier = re.compile(r"(?![0-9])\w+$".encode('ASCII')).match
nice_identifier = re.compile('^[a-zA-Z0-0_]+$').match
nice_identifier = re.compile('^[a-zA-Z0-9_]+$').match
class StringConst(object):
"""Global info about a C string constant held by GlobalState.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment