Skip to content

fix: use raw strings for regex patterns#32

Open
dotysan wants to merge 2 commits intoanonion0:masterfrom
dotysan:fix/raw-regex-strings
Open

fix: use raw strings for regex patterns#32
dotysan wants to merge 2 commits intoanonion0:masterfrom
dotysan:fix/raw-regex-strings

Conversation

@dotysan
Copy link
Copy Markdown

@dotysan dotysan commented Apr 21, 2026

Python 3.12+ warns on invalid escape sequences like . and \s in regular strings. Use raw strings (r'...') to silence SyntaxWarnings.

Python 3.12+ warns on invalid escape sequences like \. and \s in
regular strings. Use raw strings (r'...') to silence SyntaxWarnings.
@dotysan
Copy link
Copy Markdown
Author

dotysan commented Apr 21, 2026

Closes #31.

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.

1 participant