[latex3-commits] [git/LaTeX3-latex3-latex3] gh433-regex-case: Correct one edit (9953b3b27)

Joseph Wright joseph.wright at morningstar2.co.uk
Mon Jan 10 18:18:23 CET 2022


Repository : https://github.com/latex3/latex3
On branch  : gh433-regex-case
Link       : https://github.com/latex3/latex3/commit/9953b3b277d7f9da081e77bcad829199b6fa0bbf

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

commit 9953b3b277d7f9da081e77bcad829199b6fa0bbf
Author: Joseph Wright <joseph.wright at morningstar2.co.uk>
Date:   Mon Jan 10 17:18:23 2022 +0000

    Correct one edit


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

9953b3b277d7f9da081e77bcad829199b6fa0bbf
 l3kernel/testfiles/m3regex012.lvt |  2 +-
 l3kernel/testfiles/m3regex012.tlg | 18 ++++--------------
 2 files changed, 5 insertions(+), 15 deletions(-)

diff --git a/l3kernel/testfiles/m3regex012.lvt b/l3kernel/testfiles/m3regex012.lvt
index 3cef40239..24b40d0d5 100644
--- a/l3kernel/testfiles/m3regex012.lvt
+++ b/l3kernel/testfiles/m3regex012.lvt
@@ -142,7 +142,7 @@
     \regex_replace_case_once:nNTF { Something ~ odd. } \l_tmpa_tl { \ERROR } { \FALSE }
     \regex_replace_case_once:nN { * } { .. }
     \regex_replace_case_all:nNTF { Something ~ odd. } \l_tmpa_tl { \ERROR } { \FALSE }
-    \regex_case_replace_all:nN { * } { .. }
+    \regex_replace_case_all:nN { * } { .. }
   }
 
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
diff --git a/l3kernel/testfiles/m3regex012.tlg b/l3kernel/testfiles/m3regex012.tlg
index 968b037c3..529fef002 100644
--- a/l3kernel/testfiles/m3regex012.tlg
+++ b/l3kernel/testfiles/m3regex012.tlg
@@ -123,20 +123,10 @@ l. ...  }
 There must be a code part for each regex: found odd number of items (13) in
     Something odd.
 FALSE
-! Undefined control sequence.
-<argument> ...{\FALSE }\regex_case_replace_all:nN 
-                                                  {*}{..}
-l. ...  }
-The control sequence at the end of the top line
-of your error message was never \def'ed. If you have
-misspelled it (e.g., `\hobx'), type `I' and the correct
-spelling (e.g., `I\hbox'). Otherwise just continue,
-and I'll forget about whatever was undefined.
-! LaTeX Error: Missing \begin{document}.
-See the LaTeX manual or LaTeX Companion for explanation.
-Type  H <return>  for immediate help.
+! LaTeX3 Error: \regex_replace_case_all:nN(TF) with odd number of items
+For immediate help type H <return>.
  ...                                              
 l. ...  }
-You're in trouble here.  Try typing  <return>  to proceed.
-If that doesn't work, type  X <return>  to quit.
+There must be a code part for each regex: found odd number of items (1) in
+    *
 ============================================================





More information about the latex3-commits mailing list.