[latex3-commits] [git/LaTeX3-latex3-latex3] master: Add test (6aaac4451)

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/6aaac445156dc44ebf6ae8442c4be6f8324701f5

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

commit 6aaac445156dc44ebf6ae8442c4be6f8324701f5
Author: Bruno Le Floch <bruno at le-floch.fr>
Date:   Mon Jul 13 00:59:14 2020 +0200

    Add test


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

6aaac445156dc44ebf6ae8442c4be6f8324701f5
 l3kernel/testfiles/m3regex011.lvt | 11 ++++++++++-
 l3kernel/testfiles/m3regex011.tlg |  9 ++++++++-
 2 files changed, 18 insertions(+), 2 deletions(-)

diff --git a/l3kernel/testfiles/m3regex011.lvt b/l3kernel/testfiles/m3regex011.lvt
index 68ca3879e..9d5d9cae9 100644
--- a/l3kernel/testfiles/m3regex011.lvt
+++ b/l3kernel/testfiles/m3regex011.lvt
@@ -16,10 +16,19 @@
 
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
 
-\TEST { Clobbering~of~threads~with~non-optimizable~\c }
+\TEST { No~clobbering~of~threads~with~non-optimizable~\c }
   {
     \regex_match:nnTF { .a|\c{fo.}b } { \foo a } { \TRUE } { \ERROR }
   }
 
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+\TEST { No~groups~within~\c }
+  {
+    \tl_set:Nn \l_tmpa_tl { \aa \bb }
+    \regex_replace_all:nnN { \c{(.*)}(.) } { \0,\1,\2,\3 } \l_tmpa_tl
+    \tl_show:N \l_tmpa_tl
+  }
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
 \END
diff --git a/l3kernel/testfiles/m3regex011.tlg b/l3kernel/testfiles/m3regex011.tlg
index 82a2b7946..05eb3b2f2 100644
--- a/l3kernel/testfiles/m3regex011.tlg
+++ b/l3kernel/testfiles/m3regex011.tlg
@@ -2,7 +2,14 @@ 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: Clobbering of threads with non-optimizable \c 
+TEST 1: No clobbering of threads with non-optimizable \c 
 ============================================================
 TRUE
 ============================================================
+============================================================
+TEST 2: No groups within \c 
+============================================================
+> \l_tmpa_tl=\aa \bb ,\bb ,,.
+<recently read> }
+l. ...  }
+============================================================





More information about the latex3-commits mailing list.