Closed ClarkeAC closed 1 month ago
Hi @ClarkeAC thanks for reporting. I think r
prefix should work
Thanks for your reply @bugy , I tested it again and there were 11 more warnings, so I made changes to all of them. Here is the pull request #760.
@bugy I'm very sorry to bother you, I accidentally used my work email address and when I commit earlier, is it possible to change the commit record? I think it may require the following command
git rebase -i 8c6818545e8a6342e2688893f38bd6d92da3b5a6^
# edit 8c68185 fixed invalid escape sequence error, 11 more
git commit --amend --author="ClarkeAC <120437484+ClarkeAC@users.noreply.github.com>"
git rebase --continue
git push --force
Please let me know if you’re comfortable with this or if there’s any other process I should follow.
Hi @ClarkeAC done
(I used wrong commit hash, because I'm blind and couldn't find commit hash specified by you, and deleted my yesterday commit)
Thank you!
Running with python = 3.12 (And it's probably that python version greater than 3.12 will have this problem) will raise
SyntaxWarning: invalid escape sequence
. Does not affect use. But it doesn't seem to appear on every run.I think it should be caused by this.
So maybe adding
r
to the regular expression section would work? e.g.Will this cause unintended errors? For example a low version of python (e.g. py36), or regex works not as expected?