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
_______________________________________________
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to