Skip to content

Conversation

@Ferdi265
Copy link

This fixes issue #75 by correctly using raw strings (r'') for these regexes.

@Ferdi265 Ferdi265 changed the title fix invalid escape sequences in regexes Fix invalid escape sequences in regexes causing SyntaxWarnings in Python >=3.12 Apr 28, 2024
@Ferdi265 Ferdi265 changed the title Fix invalid escape sequences in regexes causing SyntaxWarnings in Python >=3.12 Fix invalid escape sequences in Regexes causing SyntaxWarnings in Python >=3.12 Apr 28, 2024
@lucc
Copy link

lucc commented Nov 27, 2025

Hello @aclements do you mind merging this? It is becoming an annoyance because distributions have switched to python >=3.12 which emits a syntax warning for this. (python 3.15 even says "Such sequences will not work in the future.", which I read as a deprecation warning)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants