mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-10 23:32:09 +00:00
use a proper charset instead of \w (too iffy on what it is)
This commit is contained in:
parent
5baa6057cb
commit
c4d81cda19
1 changed files with 1 additions and 1 deletions
|
@ -77,7 +77,7 @@ directive_re = re.compile (
|
|||
r'^\s*#\s*(define|undef|include|includelist|endlist|ifdef|ifndef|endif|else|pragma)\b' +
|
||||
r'((\s*("[^"]*"|[^ \t\n\r\f\v/]+|/(?!/))+)?)' +
|
||||
r'((\s*("[^"]*"|[^ \t\n\r\f\v/]+|/(?!/))+)*)')
|
||||
macro_re = re.compile (r'#([A-Za-z_]\w*)')
|
||||
macro_re = re.compile (r'#([A-Za-z_][0-9A-Za-z_]*)')
|
||||
arg_re = re.compile (
|
||||
r'((\s*("[^"]*"|[^ \t\n\r\f\v/]+|/(?!/))+)?)' +
|
||||
r'((\s*("[^"]*"|[^ \t\n\r\f\v/]+|/(?!/))+)*)')
|
||||
|
|
Loading…
Reference in a new issue