[latex3-commits] [latex3/latex3] gh890: Standardize 'regex' descriptor (760f4efab)

github at latex-project.org github at latex-project.org
Wed Nov 27 08:40:03 CET 2024


Repository : https://github.com/latex3/latex3
On branch  : gh890
Link       : https://github.com/latex3/latex3/commit/760f4efab5b00df75b4af19230fe2ac74d4af3a1

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

commit 760f4efab5b00df75b4af19230fe2ac74d4af3a1
Author: Joseph Wright <joseph at texdev.net>
Date:   Wed Nov 27 07:40:03 2024 +0000

    Standardize 'regex' descriptor


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

760f4efab5b00df75b4af19230fe2ac74d4af3a1
 l3kernel/l3int.dtx |  4 ++--
 l3kernel/l3seq.dtx |  8 ++++----
 l3kernel/l3tl.dtx  | 12 ++++++------
 3 files changed, 12 insertions(+), 12 deletions(-)

diff --git a/l3kernel/l3int.dtx b/l3kernel/l3int.dtx
index 3d94d6f5b..019b78a3b 100644
--- a/l3kernel/l3int.dtx
+++ b/l3kernel/l3int.dtx
@@ -315,8 +315,8 @@
 %     \int_gset_regex_count:NNn, \int_gset_regex_count:cNn,
 %   }
 %   \begin{syntax}
-%     \cs{int_set_regex_count:Nnn} \meta{int var} \Arg{regular expression} \Arg{token list}
-%     \cs{int_set_regex_count:NNn} \meta{int var} \Arg{compiled regex} \Arg{token list}
+%     \cs{int_set_regex_count:Nnn} \meta{int var} \Arg{regex} \Arg{token list}
+%     \cs{int_set_regex_count:NNn} \meta{int var} \Arg{regex~var} \Arg{token list}
 %   \end{syntax}
 %   Sets \meta{int var} equal to the number of times
 %   \meta{regular expression} appears in \meta{token list}.
diff --git a/l3kernel/l3seq.dtx b/l3kernel/l3seq.dtx
index 885a044e1..9c029d455 100644
--- a/l3kernel/l3seq.dtx
+++ b/l3kernel/l3seq.dtx
@@ -197,8 +197,8 @@
 %     \seq_gset_regex_extract:NNn, \seq_gset_regex_extract:cNn,
 %   }
 %   \begin{syntax}
-%     \cs{seq_set_regex_extract:Nnn} \meta{seq~var} \Arg{regular expression} \Arg{token list}
-%     \cs{seq_set_regex_extract:NNn} \meta{seq~var} \Arg{compiled regex} \Arg{token list}
+%     \cs{seq_set_regex_extract:Nnn} \meta{seq~var} \Arg{regex} \Arg{token list}
+%     \cs{seq_set_regex_extract:NNn} \meta{seq~var} \Arg{regex~var} \Arg{token list}
 %   \end{syntax}
 %   Finds the first match of the \meta{regular expression} in the
 %   \meta{token list}. If it exists, the match is stored as the first
@@ -215,8 +215,8 @@
 %     \seq_gset_regex_split:NNn, \seq_gset_regex_split:cNn,
 %   }
 %   \begin{syntax}
-%     \cs{seq_set_regex_split:Nnn} \meta{seq~var} \Arg{regular expression} \Arg{token list}
-%     \cs{seq_set_regex_split:NNn} \meta{seq~var} \Arg{compiled regex} \Arg{token list}
+%     \cs{seq_set_regex_split:Nnn} \meta{seq~var} \Arg{regex} \Arg{token list}
+%     \cs{seq_set_regex_split:NNn} \meta{seq~var} \Arg{regex~var} \Arg{token list}
 %   \end{syntax}
 %   Splits the \meta{token list} into a sequence of parts, delimited by
 %   matches of the \meta{regular expression}. If the \meta{regular expression}
diff --git a/l3kernel/l3tl.dtx b/l3kernel/l3tl.dtx
index c40b0aa66..196b87eb6 100644
--- a/l3kernel/l3tl.dtx
+++ b/l3kernel/l3tl.dtx
@@ -382,8 +382,8 @@
 %     \tl_if_regex_match:nN, \tl_if_regex_match:VN,
 %   }
 %   \begin{syntax}
-%     \cs{tl_if_regex_match:nnTF} \Arg{token list} \Arg{regular expression} \Arg{true code} \Arg{false code}
-%     \cs{tl_if_regex_match:nNTF} \Arg{token list} \Arg{compiled regex} \Arg{true code} \Arg{false code}
+%     \cs{tl_if_regex_match:nnTF} \Arg{token list} \Arg{regex} \Arg{true code} \Arg{false code}
+%     \cs{tl_if_regex_match:nNTF} \Arg{token list} \Arg{regex~var} \Arg{true code} \Arg{false code}
 %   \end{syntax}
 %   Tests whether the \meta{regular expression} matches any part
 %   of the \meta{token list}. For instance,
@@ -1184,8 +1184,8 @@
 %     \tl_regex_greplace_once:NNn, \tl_regex_greplace_once:cNn
 %   }
 %   \begin{syntax}
-%     \cs{tl_regex_replace_once:Nnn} \meta{tl~var} \Arg{regular expression} \Arg{replacement}
-%     \cs{tl_regex_replace_once:NNn} \meta{tl~var} \Arg{compiled regex} \Arg{replacement}
+%     \cs{tl_regex_replace_once:Nnn} \meta{tl~var} \Arg{regex} \Arg{replacement}
+%     \cs{tl_regex_replace_once:NNn} \meta{tl~var} \Arg{regex~var} \Arg{replacement}
 %   \end{syntax}
 %   Searches for the \meta{regular expression} in the contents of the
 %   \meta{tl~var} and replaces the first match with the
@@ -1202,8 +1202,8 @@
 %     \tl_regex_greplace_all:NNn, \tl_regex_greplace_all:cNn
 %   }
 %   \begin{syntax}
-%     \cs{tl_regex_replace_all:Nnn} \meta{tl~var} \Arg{regular expression} \Arg{replacement}
-%     \cs{tl_regex_replace_all:NNn} \meta{tl~var} \Arg{compiled regex} \Arg{replacement}
+%     \cs{tl_regex_replace_all:Nnn} \meta{tl~var} \Arg{regex} \Arg{replacement}
+%     \cs{tl_regex_replace_all:NNn} \meta{tl~var} \Arg{regex~var} \Arg{replacement}
 %   \end{syntax}
 %   Replaces all occurrences of the \meta{regular expression} in the
 %   contents of the \meta{tl~var}





More information about the latex3-commits mailing list.