[latex3-commits] [l3svn] r6447 - Remove tl_to_lowercase from two testfiles

noreply at latex-project.org noreply at latex-project.org
Fri Mar 25 06:22:48 CET 2016


Author: bruno
Date: 2016-03-25 06:22:48 +0100 (Fri, 25 Mar 2016)
New Revision: 6447

Modified:
   trunk/l3experimental/l3str/testfiles/m3regex007.lvt
   trunk/l3kernel/testfiles/m3clist003.lvt
Log:
Remove tl_to_lowercase from two testfiles

These could be replaced by \char_generate (and a simple \iow_char:N ).


Modified: trunk/l3experimental/l3str/testfiles/m3regex007.lvt
===================================================================
--- trunk/l3experimental/l3str/testfiles/m3regex007.lvt	2016-03-25 04:43:44 UTC (rev 6446)
+++ trunk/l3experimental/l3str/testfiles/m3regex007.lvt	2016-03-25 05:22:48 UTC (rev 6447)
@@ -35,8 +35,7 @@
     \regex_show:n { [^\d\W\s]*? [^a-z[:^cntrl:]A-Z]?? }
     \regex_show:n { [^\c[^L][^[:^alpha:]]]{2,}? }
     \regex_show:n { (a(b|[^ }
-    \char_set_lccode:nn { `< } { `\{ }
-    \tl_to_lowercase:n { \regex_show:n { ([\c<([ } }
+    \exp_args:Nx \regex_show:n { ([\exp_not:N\c\iow_char:N\{([ }
     \regex_show:n { \c{ [}{] } }
   }
 

Modified: trunk/l3kernel/testfiles/m3clist003.lvt
===================================================================
--- trunk/l3kernel/testfiles/m3clist003.lvt	2016-03-25 04:43:44 UTC (rev 6446)
+++ trunk/l3kernel/testfiles/m3clist003.lvt	2016-03-25 05:22:48 UTC (rev 6447)
@@ -61,8 +61,7 @@
   \exp_args:Nx \clist_if_empty:nF { \prg_replicate:nn {3} {~,~} } { \ERROR }
   \clist_if_empty:nT { a , b , c } { \ERROR }
   \clist_if_empty:nTF { ~ } { \TRUE }
-  \char_set_lccode:nn { `* } { 32 }
-  \tl_to_lowercase:n { \clist_if_empty:nTF { * } } { \ERROR } { \FALSE }
+  \exp_args:Nx \clist_if_empty:nTF { \char_generate:nn { 32 } { 12 } } { \ERROR } { \FALSE }
 }
 
 \END



More information about the latex3-commits mailing list