Skip to content

Commit

Permalink
avoid pythonscript\installer\updateLatestVersion.py:3: SyntaxWarning:…
Browse files Browse the repository at this point in the history
… invalid escape sequence '\.'

  versionRegex = re.compile('^\\s*Latest Version: ([0-9]+\.){3}[0-9]+\\s*')
  • Loading branch information
chcg committed Dec 21, 2023
1 parent d955be8 commit ccb74aa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion installer/updateLatestVersion.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import sys, re

versionRegex = re.compile('^\\s*Latest Version: ([0-9]+\.){3}[0-9]+\\s*')
versionRegex = re.compile('^\\s*Latest Version: ([0-9]+\\.){3}[0-9]+\\s*')
header = open(sys.argv[1], "r")
result = ''
for line in header:
Expand Down

0 comments on commit ccb74aa

Please sign in to comment.