factorio-updater icon indicating copy to clipboard operation
factorio-updater copied to clipboard

Fix not-valid escape characters in regex

Open ttelford opened this issue 7 months ago • 1 comments

  • Python 3.12 upgraded its DeprecationWarning (added in Python 3.6) to a SyntaxWarning 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.

ttelford avatar Jul 01 '24 02:07 ttelford