Closed michelschinz closed 7 months ago
Hello,
After upgrading Python to 3.12.2, I get the following warning when running gup:
gup:1068: SyntaxWarning: invalid escape sequence '\s'
the line in question reads:
new_rule = not re.match('^\s', line)
and the fix is probably just to use a raw string:
new_rule = not re.match(r'^\s', line)
I've applied that change to my version of gup, and it seems to work.
Thanks for letting me know 👍
Hello,
After upgrading Python to 3.12.2, I get the following warning when running gup:
the line in question reads:
and the fix is probably just to use a raw string:
I've applied that change to my version of gup, and it seems to work.