zufuliu wrote: > Why do we need to make this change?
https://docs.python.org/3/reference/lexical_analysis.html#escape-sequences > Changed in version 3.12: Unrecognized escape sequences produce a > [SyntaxWarning](https://docs.python.org/3/library/exceptions.html#SyntaxWarning). > In a future Python version they will be eventually a > [SyntaxError](https://docs.python.org/3/library/exceptions.html#SyntaxError). doubling backlash inside regex string is poor than adding raw string prefix `r`. https://github.com/llvm/llvm-project/pull/91856 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits