factorio-updater
factorio-updater copied to clipboard
Fix not-valid escape characters in regex
- Python 3.12 upgraded its
DeprecationWarning
(added in Python 3.6) to aSyntaxWarning
for not-valid escape characters. As a result, the\d
and\.
searches are now being flagged as such. - This fixes them by adding the correct escape level before before a future Python release makes it a hard
SyntaxError
.