Skip to content

Conversation

@vitiral
Copy link

@vitiral vitiral commented Mar 28, 2024

This change is Reviewable

@vitiral
Copy link
Author

vitiral commented Mar 28, 2024

Supported as far back as python 2.6: https://docs.python.org/2.6/reference/lexical_analysis.html#string-literals

@jfly
Copy link

jfly commented Jul 15, 2024

Edit: Please ignore, this is already covered in the issue: #51

This is pretty important for Python 3.12 support, as Python 3.12 has started emitting SyntaxWarnings for this situation:

Python 3.12.4 (main, Jun  6 2024, 18:26:44) [GCC 13.3.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> '\S'
<stdin>:1: SyntaxWarning: invalid escape sequence '\S'
'\\S'

This causes a nasty bootup message when starting vim:

image

bissli pushed a commit to bissli/MatchTagAlways that referenced this pull request Feb 27, 2025
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.

2 participants