We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
SyntaxWarning
clang-tidy-diff.py:245: SyntaxWarning: invalid escape sequence '\+' match = re.search('^\+\+\+\ "?(.*?/){%s}([^ \t\n"]*)' % args.p, line) clang-tidy-diff.py:258: SyntaxWarning: invalid escape sequence '\+' match = re.search("^@@.*\+(\d+)(,(\d+))?", line)
Using python:
$ python3 -VV Python 3.12.3 (main, Apr 9 2024, 08:09:14) [Clang 15.0.0 (clang-1500.3.9.4)]
It seems these strings need to be raw strings:
match = re.search(r'^\+\+\+\ "?(.*?/){%s}([^ \t\n"]*)' % args.p, line) # ^ note
The text was updated successfully, but these errors were encountered:
Fixed by #94028
Sorry, something went wrong.
Successfully merging a pull request may close this issue.
Using python:
It seems these strings need to be raw strings:
The text was updated successfully, but these errors were encountered: