mirror of
https://github.com/llvm/llvm-project.git
synced 2025-04-18 16:07:09 +00:00

\d, \( and \) are not valid escape sequences; since python 3.12 they give SyntaxWarning, and will raise SyntaxError in future. https://docs.python.org/3.12/whatsnew/3.12.html#other-language-changes r"\(\d\)" and "\\(\\d\\)" are equivalent but the former is the shorter. Co-authored-by: Eisuke Kawashima <e-kwsm@users.noreply.github.com>