[latex3-commits] [git/LaTeX3-latex3-latex3] peek-regex: Add regex test file (ad26b212a)

Bruno Le Floch blflatex at gmail.com
Mon Jul 20 02:19:19 CEST 2020


Repository : https://github.com/latex3/latex3
On branch  : peek-regex
Link       : https://github.com/latex3/latex3/commit/ad26b212a9c994c0a4a09b1e5095823ed6924163

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

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

    Add regex test file


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

ad26b212a9c994c0a4a09b1e5095823ed6924163
 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.