narc0tiq / factorio-updater

Factorio update helper for headless servers
MIT License
245 stars 48 forks source link

Fix not-valid escape characters in regex #64

Open ttelford opened 3 months ago

ttelford commented 3 months ago
chengscott commented 3 months ago

no need to escape, use raw string instead:

change from "Version: (\d+\.\d+\.\d+)" to r"Version: (\d+\.\d+\.\d+)"