[llvm] [FileCheck] Improve printing variables with escapes (PR #145865)
Thomas Preud'homme via llvm-commits
llvm-commits at lists.llvm.org
Thu Jun 26 03:37:20 PDT 2025
================
@@ -0,0 +1,17 @@
+; RUN: echo -e "WINPATH=A:\windows\style\path" > %t
+; RUN: echo -e "NOT_ESCAPED=shouldn't be escaped [a-Z]\+$" >> %t
+; RUN: echo -e 'ESCAPED=\\ needs\to "be" escaped\000' >> %t
+
----------------
RoboTux wrote:
Maybe add examples of:
- a numeric expression regex still being escaped (e.g. [[#%X]])
- a failed numeric expression substitution
https://github.com/llvm/llvm-project/pull/145865
More information about the llvm-commits
mailing list