utils: Declare regex strings as raw
Fixes "SyntaxWarning: invalid escape sequence '\w'" raised since Python3.12
This commit is contained in:
@@ -583,7 +583,7 @@ def main(argv):
|
||||
#
|
||||
|
||||
# Alphanumeric and '-' only
|
||||
allowedRE = re.compile("^(\w|-)+$")
|
||||
allowedRE = re.compile(r"^(\w|-)+$")
|
||||
|
||||
project_path = None
|
||||
|
||||
|
||||
Reference in New Issue
Block a user