mirror of
https://github.com/freedoom/freedoom.git
synced 2025-09-01 13:25:46 -04:00
pass regular expressions as raw strings in Python scripts (#1450)
This commit is contained in:
parent
324071330e
commit
61a0917526
2 changed files with 4 additions and 4 deletions
|
@ -34,8 +34,8 @@ import re
|
|||
debug = False
|
||||
defines = {}
|
||||
|
||||
command_re = re.compile("\#(\w+)(\s+(.*))?")
|
||||
include_re = re.compile('\s*"(.*)"\s*')
|
||||
command_re = re.compile(r"\#(\w+)(\s+(.*))?")
|
||||
include_re = re.compile(r'\s*"(.*)"\s*')
|
||||
|
||||
|
||||
def debug_msg(message):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue