[latex3-commits] [git/LaTeX3-latex3-latex3] master: Add regex test file (84fe2b815)

Joseph Wright joseph.wright at morningstar2.co.uk
Thu Dec 3 17:27:34 CET 2020


Repository : https://github.com/latex3/latex3
On branch  : master
Link       : https://github.com/latex3/latex3/commit/84fe2b815b1f2e799f90e53d0fe55cd29f865161

>---------------------------------------------------------------

commit 84fe2b815b1f2e799f90e53d0fe55cd29f865161
Author: Bruno Le Floch <bruno at le-floch.fr>
Date:   Sun Jul 12 23:43:36 2020 +0200

    Add regex test file


>---------------------------------------------------------------

84fe2b815b1f2e799f90e53d0fe55cd29f865161
 l3kernel/testfiles/{m3regex010.lvt => m3regex011.lvt}       | 6 +++---
 l3kernel/testfiles/{m3str-convert003.tlg => m3regex011.tlg} | 4 ++--
 2 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/l3kernel/testfiles/m3regex010.lvt b/l3kernel/testfiles/m3regex011.lvt
similarity index 71%
copy from l3kernel/testfiles/m3regex010.lvt
copy to l3kernel/testfiles/m3regex011.lvt
index 360e342f0..68ca3879e 100644
--- a/l3kernel/testfiles/m3regex010.lvt
+++ b/l3kernel/testfiles/m3regex011.lvt
@@ -1,5 +1,5 @@
 %
-% Copyright (C) 2014,2015,2017,2018 The LaTeX3 Project
+% Copyright (C) 2020 The LaTeX3 Project
 \documentclass{minimal}
 \input{regression-test}
 
@@ -16,9 +16,9 @@
 
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
 
-\TEST { LuaTeX~bug~which~leads~to~an~l3regex~bug }
+\TEST { Clobbering~of~threads~with~non-optimizable~\c }
   {
-    \regex_show:n { \^^@ \^^A }
+    \regex_match:nnTF { .a|\c{fo.}b } { \foo a } { \TRUE } { \ERROR }
   }
 
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
diff --git a/l3kernel/testfiles/m3str-convert003.tlg b/l3kernel/testfiles/m3regex011.tlg
similarity index 84%
copy from l3kernel/testfiles/m3str-convert003.tlg
copy to l3kernel/testfiles/m3regex011.tlg
index c89276a04..82a2b7946 100644
--- a/l3kernel/testfiles/m3str-convert003.tlg
+++ b/l3kernel/testfiles/m3regex011.tlg
@@ -2,7 +2,7 @@ This is a generated file for the LaTeX (2e + expl3) validation system.
 Don't change this file in any respect.
 Author: Bruno Le Floch
 ============================================================
-TEST 1: str if contains char
+TEST 1: Clobbering of threads with non-optimizable \c 
 ============================================================
-FALSE TRUE FALSE FALSE TRUE
+TRUE
 ============================================================





More information about the latex3-commits mailing list.