[latex3-commits] [git/LaTeX3-latex3-latex3] master: Rename \str_case:ee(TF) to \str_case_e:nn(TF) (8c6bf6b)
Joseph Wright
joseph.wright at morningstar2.co.uk
Tue Jun 19 08:39:29 CEST 2018
Repository : https://github.com/latex3/latex3
On branch : master
Link : https://github.com/latex3/latex3/commit/8c6bf6baf075f445cf9a5e4b0d8bdaee39dfa255
>---------------------------------------------------------------
commit 8c6bf6baf075f445cf9a5e4b0d8bdaee39dfa255
Author: Joseph Wright <joseph.wright at morningstar2.co.uk>
Date: Mon Jun 18 23:18:18 2018 +0100
Rename \str_case:ee(TF) to \str_case_e:nn(TF)
The expansion here is not quite :ee - the second e-type is 'hidden'. So we almost go back to _e, except it is _e due to the handling of #, and expandability.
>---------------------------------------------------------------
8c6bf6baf075f445cf9a5e4b0d8bdaee39dfa255
l3experimental/l3str/l3str-convert.dtx | 2 +-
l3kernel/CHANGELOG.md | 2 +-
l3kernel/l3deprecation.dtx | 2 +-
l3kernel/l3regex.dtx | 2 +-
l3kernel/l3str.dtx | 88 +++++++++++++++++--------------
l3kernel/testfiles/m3basics001.lvt | 6 +--
l3kernel/testfiles/m3expl001.luatex.tlg | 12 ++---
l3kernel/testfiles/m3expl001.ptex.tlg | 12 ++---
l3kernel/testfiles/m3expl001.tlg | 12 ++---
l3kernel/testfiles/m3expl001.uptex.tlg | 12 ++---
l3kernel/testfiles/m3expl001.xetex.tlg | 12 ++---
l3kernel/testfiles/m3expl003.luatex.tlg | 12 ++---
l3kernel/testfiles/m3expl003.ptex.tlg | 12 ++---
l3kernel/testfiles/m3expl003.tlg | 12 ++---
l3kernel/testfiles/m3expl003.uptex.tlg | 12 ++---
l3kernel/testfiles/m3expl003.xetex.tlg | 12 ++---
l3packages/xparse/xparse.dtx | 2 +-
17 files changed, 116 insertions(+), 108 deletions(-)
diff --git a/l3experimental/l3str/l3str-convert.dtx b/l3experimental/l3str/l3str-convert.dtx
index 4e235c7..2bae2f9 100644
--- a/l3experimental/l3str/l3str-convert.dtx
+++ b/l3experimental/l3str/l3str-convert.dtx
@@ -1547,7 +1547,7 @@
{ \@@_unescape_string_repeat:NNNNNN ?? }
}
{
- \str_case:eeF {#2}
+ \str_case_e:nnF {#2}
{
{ \c_backslash_str } { 134 }
{ ( } { 50 }
diff --git a/l3kernel/CHANGELOG.md b/l3kernel/CHANGELOG.md
index 751b879..4e3435a 100644
--- a/l3kernel/CHANGELOG.md
+++ b/l3kernel/CHANGELOG.md
@@ -9,7 +9,7 @@ this project uses date-based 'snapshot' version identifiers.
## Added
- `\lua_escape:e`, `\lua_now:e` and `\lua_shipout_e:n`
-- `\str_case:ee(TF)` and `\str_if_eq:ee(TF)`
+- `\str_case_e:nn(TF)` and `\str_if_eq:ee(TF)`
## Deprecated
- `\lua_escape_x:n`, `\lua_now_x:n` and `\lua_shipout_x:n`
diff --git a/l3kernel/l3deprecation.dtx b/l3kernel/l3deprecation.dtx
index a3f8cac..89a69c5 100644
--- a/l3kernel/l3deprecation.dtx
+++ b/l3kernel/l3deprecation.dtx
@@ -138,7 +138,7 @@
\__kernel_deprecation_error:Nnn \str_case:onn
{ \str_case:onF } { 2015-07-14 }
\__kernel_deprecation_error:Nnn \str_case_x:nnn
- { \str_case:eeF } { 2015-07-14 }
+ { \str_case_e:nnF } { 2015-07-14 }
\__kernel_deprecation_error:Nnn \tl_case:cnn
{ \tl_case:cnF } { 2015-07-14 }
\__kernel_deprecation_error:Nnn \tl_case:Nnn
diff --git a/l3kernel/l3regex.dtx b/l3kernel/l3regex.dtx
index 44e64b9..9c8585f 100644
--- a/l3kernel/l3regex.dtx
+++ b/l3kernel/l3regex.dtx
@@ -2421,7 +2421,7 @@
}
\cs_new_protected:Npn \@@_compile_quantifier_braced_auxi:w #1#2
{
- \str_case:eeF { #1 #2 }
+ \str_case_e:nnF { #1 #2 }
{
{ \@@_compile_special:N \c_right_brace_str }
{
diff --git a/l3kernel/l3str.dtx b/l3kernel/l3str.dtx
index 284a72c..3349af5 100644
--- a/l3kernel/l3str.dtx
+++ b/l3kernel/l3str.dtx
@@ -339,8 +339,8 @@
% tests whether \meta{string_2} is found inside \meta{string_1}.
% \end{function}
%
-% \begin{function}[added = 2013-07-24, updated = 2018-06-18, EXP, noTF]
-% {\str_case:nn, \str_case:on, \str_case:nV, \str_case:nv, \str_case:ee}
+% \begin{function}[added = 2013-07-24, updated = 2015-02-28, EXP, noTF]
+% {\str_case:nn, \str_case:on, \str_case:nV, \str_case:nv}
% \begin{syntax}
% \cs{str_case:nnTF} \Arg{test string} \\
% ~~|{| \\
@@ -362,9 +362,32 @@
% match then the \meta{false code} is inserted. The function
% \cs{str_case:nn}, which does nothing if there is no match, is also
% available.
+% \end{function}
%
-% For technical reasons, in the \texttt{e}-type variant,
-% the \meta{test string} is expanded in each comparison, and must
+% \begin{function}[added = 2018-06-19, EXP, noTF]{\str_case_e:nn}
+% \begin{syntax}
+% \cs{str_case_e:nnTF} \Arg{test string} \\
+% ~~|{| \\
+% ~~~~\Arg{string case_1} \Arg{code case_1} \\
+% ~~~~\Arg{string case_2} \Arg{code case_2} \\
+% ~~~~\ldots \\
+% ~~~~\Arg{string case_n} \Arg{code case_n} \\
+% ~~|}| \\
+% ~~\Arg{true code}
+% ~~\Arg{false code}
+% \end{syntax}
+% Compares the full expansion of the \meta{test string}
+% in turn with the full expansion of the \meta{string cases}
+% (all token lists are converted to strings). If the two
+% full expansions are equal (as described for \cs{str_if_eq:nnTF}) then the
+% associated \meta{code} is left in the input stream
+% and other cases are discarded. If any of the
+% cases are matched, the \meta{true code} is also inserted into the
+% input stream (after the code for the appropriate case), while if none
+% match then the \meta{false code} is inserted. The function
+% \cs{str_case_e:nn}, which does nothing if there is no match, is also
+% available.
+% The \meta{test string} is expanded in each comparison, and must
% always yield the same result: for example, random numbers must
% not be used within this string.
% \end{function}
@@ -1100,10 +1123,10 @@
% \end{macro}
%
% \begin{macro}[EXP, noTF]
-% {\str_case:nn, \str_case:on, \str_case:nV, \str_case:nv, \str_case:ee}
-% \begin{macro}[EXP]{\@@_case:nnTF, \@@_case:eeTF}
+% {\str_case:nn, \str_case:on, \str_case:nV, \str_case:nv, \str_case_e:nn}
+% \begin{macro}[EXP]{\@@_case:nnTF, \@@_case_e:nnTF}
% \begin{macro}[EXP]
-% {\@@_case:nw, \@@_case:ew, \@@_case_end:nw}
+% {\@@_case:nw, \@@_case_e:nw, \@@_case_end:nw}
% Much the same as \cs[index=tl_case:nn]{tl_case:nn(TF)} here:
% just a change in the internal comparison.
% \begin{macrocode}
@@ -1138,33 +1161,33 @@
{ \@@_case_end:nw {#3} }
{ \@@_case:nw {#1} }
}
-\cs_new:Npn \str_case:ee #1#2
+\cs_new:Npn \str_case_e:nn #1#2
{
\exp:w
- \@@_case:eeTF {#1} {#2} { } { }
+ \@@_case_e:nnTF {#1} {#2} { } { }
}
-\cs_new:Npn \str_case:eeT #1#2#3
+\cs_new:Npn \str_case_e:nnT #1#2#3
{
\exp:w
- \@@_case:eeTF {#1} {#2} {#3} { }
+ \@@_case_e:nnTF {#1} {#2} {#3} { }
}
-\cs_new:Npn \str_case:eeF #1#2
+\cs_new:Npn \str_case_e:nnF #1#2
{
\exp:w
- \@@_case:eeTF {#1} {#2} { }
+ \@@_case_e:nnTF {#1} {#2} { }
}
-\cs_new:Npn \str_case:eeTF #1#2
+\cs_new:Npn \str_case_e:nnTF #1#2
{
\exp:w
- \@@_case:eeTF {#1} {#2}
+ \@@_case_e:nnTF {#1} {#2}
}
-\cs_new:Npn \@@_case:eeTF #1#2#3#4
- { \@@_case:ew {#1} #2 {#1} { } \q_mark {#3} \q_mark {#4} \q_stop }
-\cs_new:Npn \@@_case:ew #1#2#3
+\cs_new:Npn \@@_case_e:nnTF #1#2#3#4
+ { \@@_case_e:nw {#1} #2 {#1} { } \q_mark {#3} \q_mark {#4} \q_stop }
+\cs_new:Npn \@@_case_e:nw #1#2#3
{
\str_if_eq:eeTF {#1} {#2}
{ \@@_case_end:nw {#3} }
- { \@@_case:ew {#1} }
+ { \@@_case_e:nw {#1} }
}
\cs_new:Npn \@@_case_end:nw #1#2#3 \q_mark #4#5 \q_stop
{ \exp_end: #1 #4 }
@@ -1891,29 +1914,13 @@
% For removal after 2019-12-31.
% \begin{macrocode}
\__kernel_patch_deprecation:nnNNpn { 2019-12-31 } { \str_case:ee }
-\cs_new:Npn \str_case_x:nn #1#2
- {
- \exp:w
- \@@_case:eeTF {#1} {#2} { } { }
- }
+\cs_new:Npn \str_case_x:nn { \str_case:ee }
\__kernel_patch_deprecation:nnNNpn { 2019-12-31 } { \str_case:eeT }
-\cs_new:Npn \str_case_x:nnT #1#2#3
- {
- \exp:w
- \@@_case:eeTF {#1} {#2} {#3} { }
- }
-\__kernel_patch_deprecation:nnNNpn { 2019-12-31 } { \str_case:eeF }
-\cs_new:Npn \str_case_x:nnF #1#2
- {
- \exp:w
- \@@_case:eeTF {#1} {#2} { }
- }
+\cs_new:Npn \str_case_x:nnT { \str_case:eeT }
+\__kernel_patch_deprecation:nnNNpn { 2019-12-31 } { \str_case:eeT }
+\cs_new:Npn \str_case_x:nnF { \str_case:eeF }
\__kernel_patch_deprecation:nnNNpn { 2019-12-31 } { \str_case:eeTF }
-\cs_new:Npn \str_case_x:nnTF #1#2
- {
- \exp:w
- \@@_case:eeTF {#1} {#2}
- }
+\cs_new:Npn \str_case_x:nnTF { \str_case:eeTF }
\__kernel_patch_deprecation:nnNNpn { 2019-12-31 } { \str_if_eq_p:ee }
\cs_new:Npn \str_if_eq_x_p:nn { \str_if_eq_p:ee }
\__kernel_patch_deprecation:nnNNpn { 2019-12-31 } { \str_if_eq:eeT }
@@ -1924,6 +1931,7 @@
\cs_new:Npn \str_if_eq_x:nnTF { \str_if_eq:eeTF }
% \end{macrocode}
% \end{macro}
+% \end{macro}
%
% \begin{macrocode}
%</initex|package>
diff --git a/l3kernel/testfiles/m3basics001.lvt b/l3kernel/testfiles/m3basics001.lvt
index ca70c6b..3744c5d 100644
--- a/l3kernel/testfiles/m3basics001.lvt
+++ b/l3kernel/testfiles/m3basics001.lvt
@@ -130,7 +130,7 @@
{ { x } { \NO } }
{ \YES }
\NEWLINE
- \str_case:eeF { \tmp }
+ \str_case_e:nnF { \tmp }
{
{ x } { \NO }
{ y } { \NO }
@@ -139,7 +139,7 @@
}
{ \NO }
\NEWLINE
- \str_case:eeF { yz }
+ \str_case_e:nnF { yz }
{
{ x } { \NO }
{ y } { \NO }
@@ -148,7 +148,7 @@
}
{ \NO }
\NEWLINE
- \str_case:eeF { x\tmp }
+ \str_case_e:nnF { x\tmp }
{
{ x } { \NO }
{ y } { \NO }
diff --git a/l3kernel/testfiles/m3expl001.luatex.tlg b/l3kernel/testfiles/m3expl001.luatex.tlg
index 7ba87a4..d1600a2 100644
--- a/l3kernel/testfiles/m3expl001.luatex.tlg
+++ b/l3kernel/testfiles/m3expl001.luatex.tlg
@@ -807,12 +807,12 @@ Defining \str_case:onTF on line ...
Defining \str_case:nVTF on line ...
Defining \str_case:nvTF on line ...
Defining \__str_case:nw on line ...
-Defining \str_case:ee on line ...
-Defining \str_case:eeT on line ...
-Defining \str_case:eeF on line ...
-Defining \str_case:eeTF on line ...
-Defining \__str_case:eeTF on line ...
-Defining \__str_case:ew on line ...
+Defining \str_case_e:nn on line ...
+Defining \str_case_e:nnT on line ...
+Defining \str_case_e:nnF on line ...
+Defining \str_case_e:nnTF on line ...
+Defining \__str_case_e:nnTF on line ...
+Defining \__str_case_e:nw on line ...
Defining \__str_case_end:nw on line ...
Defining \str_map_function:nN on line ...
Defining \str_map_function:NN on line ...
diff --git a/l3kernel/testfiles/m3expl001.ptex.tlg b/l3kernel/testfiles/m3expl001.ptex.tlg
index d30f0b0..d819211 100644
--- a/l3kernel/testfiles/m3expl001.ptex.tlg
+++ b/l3kernel/testfiles/m3expl001.ptex.tlg
@@ -843,12 +843,12 @@ Defining \str_case:onTF on line ...
Defining \str_case:nVTF on line ...
Defining \str_case:nvTF on line ...
Defining \__str_case:nw on line ...
-Defining \str_case:ee on line ...
-Defining \str_case:eeT on line ...
-Defining \str_case:eeF on line ...
-Defining \str_case:eeTF on line ...
-Defining \__str_case:eeTF on line ...
-Defining \__str_case:ew on line ...
+Defining \str_case_e:nn on line ...
+Defining \str_case_e:nnT on line ...
+Defining \str_case_e:nnF on line ...
+Defining \str_case_e:nnTF on line ...
+Defining \__str_case_e:nnTF on line ...
+Defining \__str_case_e:nw on line ...
Defining \__str_case_end:nw on line ...
Defining \str_map_function:nN on line ...
Defining \str_map_function:NN on line ...
diff --git a/l3kernel/testfiles/m3expl001.tlg b/l3kernel/testfiles/m3expl001.tlg
index 348e154..e5ed5da 100644
--- a/l3kernel/testfiles/m3expl001.tlg
+++ b/l3kernel/testfiles/m3expl001.tlg
@@ -843,12 +843,12 @@ Defining \str_case:onTF on line ...
Defining \str_case:nVTF on line ...
Defining \str_case:nvTF on line ...
Defining \__str_case:nw on line ...
-Defining \str_case:ee on line ...
-Defining \str_case:eeT on line ...
-Defining \str_case:eeF on line ...
-Defining \str_case:eeTF on line ...
-Defining \__str_case:eeTF on line ...
-Defining \__str_case:ew on line ...
+Defining \str_case_e:nn on line ...
+Defining \str_case_e:nnT on line ...
+Defining \str_case_e:nnF on line ...
+Defining \str_case_e:nnTF on line ...
+Defining \__str_case_e:nnTF on line ...
+Defining \__str_case_e:nw on line ...
Defining \__str_case_end:nw on line ...
Defining \str_map_function:nN on line ...
Defining \str_map_function:NN on line ...
diff --git a/l3kernel/testfiles/m3expl001.uptex.tlg b/l3kernel/testfiles/m3expl001.uptex.tlg
index 8e6eac3..b13c2ce 100644
--- a/l3kernel/testfiles/m3expl001.uptex.tlg
+++ b/l3kernel/testfiles/m3expl001.uptex.tlg
@@ -843,12 +843,12 @@ Defining \str_case:onTF on line ...
Defining \str_case:nVTF on line ...
Defining \str_case:nvTF on line ...
Defining \__str_case:nw on line ...
-Defining \str_case:ee on line ...
-Defining \str_case:eeT on line ...
-Defining \str_case:eeF on line ...
-Defining \str_case:eeTF on line ...
-Defining \__str_case:eeTF on line ...
-Defining \__str_case:ew on line ...
+Defining \str_case_e:nn on line ...
+Defining \str_case_e:nnT on line ...
+Defining \str_case_e:nnF on line ...
+Defining \str_case_e:nnTF on line ...
+Defining \__str_case_e:nnTF on line ...
+Defining \__str_case_e:nw on line ...
Defining \__str_case_end:nw on line ...
Defining \str_map_function:nN on line ...
Defining \str_map_function:NN on line ...
diff --git a/l3kernel/testfiles/m3expl001.xetex.tlg b/l3kernel/testfiles/m3expl001.xetex.tlg
index c71bc0d..327b924 100644
--- a/l3kernel/testfiles/m3expl001.xetex.tlg
+++ b/l3kernel/testfiles/m3expl001.xetex.tlg
@@ -843,12 +843,12 @@ Defining \str_case:onTF on line ...
Defining \str_case:nVTF on line ...
Defining \str_case:nvTF on line ...
Defining \__str_case:nw on line ...
-Defining \str_case:ee on line ...
-Defining \str_case:eeT on line ...
-Defining \str_case:eeF on line ...
-Defining \str_case:eeTF on line ...
-Defining \__str_case:eeTF on line ...
-Defining \__str_case:ew on line ...
+Defining \str_case_e:nn on line ...
+Defining \str_case_e:nnT on line ...
+Defining \str_case_e:nnF on line ...
+Defining \str_case_e:nnTF on line ...
+Defining \__str_case_e:nnTF on line ...
+Defining \__str_case_e:nw on line ...
Defining \__str_case_end:nw on line ...
Defining \str_map_function:nN on line ...
Defining \str_map_function:NN on line ...
diff --git a/l3kernel/testfiles/m3expl003.luatex.tlg b/l3kernel/testfiles/m3expl003.luatex.tlg
index 7ba87a4..d1600a2 100644
--- a/l3kernel/testfiles/m3expl003.luatex.tlg
+++ b/l3kernel/testfiles/m3expl003.luatex.tlg
@@ -807,12 +807,12 @@ Defining \str_case:onTF on line ...
Defining \str_case:nVTF on line ...
Defining \str_case:nvTF on line ...
Defining \__str_case:nw on line ...
-Defining \str_case:ee on line ...
-Defining \str_case:eeT on line ...
-Defining \str_case:eeF on line ...
-Defining \str_case:eeTF on line ...
-Defining \__str_case:eeTF on line ...
-Defining \__str_case:ew on line ...
+Defining \str_case_e:nn on line ...
+Defining \str_case_e:nnT on line ...
+Defining \str_case_e:nnF on line ...
+Defining \str_case_e:nnTF on line ...
+Defining \__str_case_e:nnTF on line ...
+Defining \__str_case_e:nw on line ...
Defining \__str_case_end:nw on line ...
Defining \str_map_function:nN on line ...
Defining \str_map_function:NN on line ...
diff --git a/l3kernel/testfiles/m3expl003.ptex.tlg b/l3kernel/testfiles/m3expl003.ptex.tlg
index d30f0b0..d819211 100644
--- a/l3kernel/testfiles/m3expl003.ptex.tlg
+++ b/l3kernel/testfiles/m3expl003.ptex.tlg
@@ -843,12 +843,12 @@ Defining \str_case:onTF on line ...
Defining \str_case:nVTF on line ...
Defining \str_case:nvTF on line ...
Defining \__str_case:nw on line ...
-Defining \str_case:ee on line ...
-Defining \str_case:eeT on line ...
-Defining \str_case:eeF on line ...
-Defining \str_case:eeTF on line ...
-Defining \__str_case:eeTF on line ...
-Defining \__str_case:ew on line ...
+Defining \str_case_e:nn on line ...
+Defining \str_case_e:nnT on line ...
+Defining \str_case_e:nnF on line ...
+Defining \str_case_e:nnTF on line ...
+Defining \__str_case_e:nnTF on line ...
+Defining \__str_case_e:nw on line ...
Defining \__str_case_end:nw on line ...
Defining \str_map_function:nN on line ...
Defining \str_map_function:NN on line ...
diff --git a/l3kernel/testfiles/m3expl003.tlg b/l3kernel/testfiles/m3expl003.tlg
index 348e154..e5ed5da 100644
--- a/l3kernel/testfiles/m3expl003.tlg
+++ b/l3kernel/testfiles/m3expl003.tlg
@@ -843,12 +843,12 @@ Defining \str_case:onTF on line ...
Defining \str_case:nVTF on line ...
Defining \str_case:nvTF on line ...
Defining \__str_case:nw on line ...
-Defining \str_case:ee on line ...
-Defining \str_case:eeT on line ...
-Defining \str_case:eeF on line ...
-Defining \str_case:eeTF on line ...
-Defining \__str_case:eeTF on line ...
-Defining \__str_case:ew on line ...
+Defining \str_case_e:nn on line ...
+Defining \str_case_e:nnT on line ...
+Defining \str_case_e:nnF on line ...
+Defining \str_case_e:nnTF on line ...
+Defining \__str_case_e:nnTF on line ...
+Defining \__str_case_e:nw on line ...
Defining \__str_case_end:nw on line ...
Defining \str_map_function:nN on line ...
Defining \str_map_function:NN on line ...
diff --git a/l3kernel/testfiles/m3expl003.uptex.tlg b/l3kernel/testfiles/m3expl003.uptex.tlg
index 8e6eac3..b13c2ce 100644
--- a/l3kernel/testfiles/m3expl003.uptex.tlg
+++ b/l3kernel/testfiles/m3expl003.uptex.tlg
@@ -843,12 +843,12 @@ Defining \str_case:onTF on line ...
Defining \str_case:nVTF on line ...
Defining \str_case:nvTF on line ...
Defining \__str_case:nw on line ...
-Defining \str_case:ee on line ...
-Defining \str_case:eeT on line ...
-Defining \str_case:eeF on line ...
-Defining \str_case:eeTF on line ...
-Defining \__str_case:eeTF on line ...
-Defining \__str_case:ew on line ...
+Defining \str_case_e:nn on line ...
+Defining \str_case_e:nnT on line ...
+Defining \str_case_e:nnF on line ...
+Defining \str_case_e:nnTF on line ...
+Defining \__str_case_e:nnTF on line ...
+Defining \__str_case_e:nw on line ...
Defining \__str_case_end:nw on line ...
Defining \str_map_function:nN on line ...
Defining \str_map_function:NN on line ...
diff --git a/l3kernel/testfiles/m3expl003.xetex.tlg b/l3kernel/testfiles/m3expl003.xetex.tlg
index c71bc0d..327b924 100644
--- a/l3kernel/testfiles/m3expl003.xetex.tlg
+++ b/l3kernel/testfiles/m3expl003.xetex.tlg
@@ -843,12 +843,12 @@ Defining \str_case:onTF on line ...
Defining \str_case:nVTF on line ...
Defining \str_case:nvTF on line ...
Defining \__str_case:nw on line ...
-Defining \str_case:ee on line ...
-Defining \str_case:eeT on line ...
-Defining \str_case:eeF on line ...
-Defining \str_case:eeTF on line ...
-Defining \__str_case:eeTF on line ...
-Defining \__str_case:ew on line ...
+Defining \str_case_e:nn on line ...
+Defining \str_case_e:nnT on line ...
+Defining \str_case_e:nnF on line ...
+Defining \str_case_e:nnTF on line ...
+Defining \__str_case_e:nnTF on line ...
+Defining \__str_case_e:nw on line ...
Defining \__str_case_end:nw on line ...
Defining \str_map_function:nN on line ...
Defining \str_map_function:NN on line ...
diff --git a/l3packages/xparse/xparse.dtx b/l3packages/xparse/xparse.dtx
index 549dbc1..32fb003 100644
--- a/l3packages/xparse/xparse.dtx
+++ b/l3packages/xparse/xparse.dtx
@@ -4048,7 +4048,7 @@
% \begin{macrocode}
\cs_new_protected:Npn \@@_cmd_if_xparse:NTF #1
{
- \exp_args:Nf \str_case:eeTF
+ \exp_args:Nf \str_case_e:nnTF
{
\exp_args:Nf \tl_if_empty:nT { \token_get_arg_spec:N #1 }
{
More information about the latex3-commits
mailing list