[latex3-commits] [l3svn] 01/03: Use \tex_lowercase:D in l3regex

noreply at latex-project.org noreply at latex-project.org
Mon Nov 9 14:37:25 CET 2015


This is an automated email from the git hooks/post-receive script.

joseph pushed a commit to branch master
in repository l3svn.

commit 99de4076f97c39f53872307c631164f4bf8fffdd
Author: Joseph Wright <joseph.wright at morningstar2.co.uk>
Date:   Mon Nov 9 10:52:55 2015 +0000

    Use \tex_lowercase:D in l3regex
    
    At soem future stage it may be possible to use
    \char_generate:nn here (this depends on engine requirement
    updates for XeTeX). However, for performance reasons
    it may well be desirable to stick to this lowest-level
    approach.
---
 l3experimental/l3str/l3regex.dtx |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/l3experimental/l3str/l3regex.dtx b/l3experimental/l3str/l3regex.dtx
index 69a76b0..d0df77a 100644
--- a/l3experimental/l3str/l3regex.dtx
+++ b/l3experimental/l3str/l3regex.dtx
@@ -1432,7 +1432,7 @@
         }
         {
           \char_set_lccode:nn { \c_zero } {#1}
-          \tl_to_lowercase:n
+          \tex_lowercase:D
             {
               \tl_set:Nx \l_@@_internal_b_tl
                 { \if_false: } \fi:
@@ -5016,7 +5016,7 @@
         \__msg_kernel_error:nn { regex } { replacement-catcode-end }
       \else:
         \tex_lccode:D \c_zero = `#3 \scan_stop:
-        \tl_to_lowercase:n { \__tl_build_one:n {#1} }
+        \tex_lowercase:D { \__tl_build_one:n {#1} }
       \fi:
     }
 %    \end{macrocode}
@@ -5150,7 +5150,7 @@
           \__msg_kernel_error:nn { regex } { replacement-null-space }
         \fi:
         \tex_lccode:D 32 = `#2 \scan_stop:
-        \tl_to_lowercase:n { \__tl_build_one:n {~} }
+        \tex_lowercase:D { \__tl_build_one:n {~} }
       \fi:
     }
 %    \end{macrocode}

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the latex3-commits mailing list