utils: Declare regex strings as raw

Fixes "SyntaxWarning: invalid escape sequence '\w'" raised since Python3.12
This commit is contained in:
Eduardo Almeida
2024-11-22 15:52:54 +00:00
parent ac02eabca8
commit 37ccf7c06e

View File

@@ -583,7 +583,7 @@ def main(argv):
#
# Alphanumeric and '-' only
allowedRE = re.compile("^(\w|-)+$")
allowedRE = re.compile(r"^(\w|-)+$")
project_path = None