[latex3-commits] [latex3/latex3] gh890: Link to regex docs (961f21faa)
github at latex-project.org
github at latex-project.org
Wed Nov 27 08:43:32 CET 2024
Repository : https://github.com/latex3/latex3
On branch : gh890
Link : https://github.com/latex3/latex3/commit/961f21faabf89927f32a40afc777db3612df0228
>---------------------------------------------------------------
commit 961f21faabf89927f32a40afc777db3612df0228
Author: Joseph Wright <joseph at texdev.net>
Date: Wed Nov 27 07:41:12 2024 +0000
Link to regex docs
>---------------------------------------------------------------
961f21faabf89927f32a40afc777db3612df0228
l3kernel/l3int.dtx | 2 ++
l3kernel/l3seq.dtx | 4 ++++
l3kernel/l3tl.dtx | 6 ++++++
3 files changed, 12 insertions(+)
diff --git a/l3kernel/l3int.dtx b/l3kernel/l3int.dtx
index 019b78a3b..a501a07ba 100644
--- a/l3kernel/l3int.dtx
+++ b/l3kernel/l3int.dtx
@@ -332,6 +332,8 @@
% \int_set_regex_count:Nnn \l_foo_int { (b+|c) } { abbababcbb }
% \end{verbatim}
% results in \cs[no-index]{l_foo_int} taking the value $5$.
+% See \pkg{l3regex} chapter for more details of the \meta{regex}
+% format.
% \end{function}
%
% \begin{function}[updated = 2011-10-22]
diff --git a/l3kernel/l3seq.dtx b/l3kernel/l3seq.dtx
index 9c029d455..d4d688ece 100644
--- a/l3kernel/l3seq.dtx
+++ b/l3kernel/l3seq.dtx
@@ -205,6 +205,8 @@
% item of the \meta{seq~var}, and further items are the contents of
% capturing groups, in the order of their opening parenthesis. If
% there is no match, the \meta{seq~var} is cleared.
+% See \pkg{l3regex} chapter for more details of the \meta{regex}
+% format.
% \end{function}
%
% \begin{function}[added = 2024-11-26]
@@ -226,6 +228,8 @@
% \meta{token list} as its sole item. If the \meta{regular expression}
% matches the empty token list, then the \meta{token list} is split
% into single tokens.
+% See \pkg{l3regex} chapter for more details of the \meta{regex}
+% format.
% \end{function}
%
% \begin{function}
diff --git a/l3kernel/l3tl.dtx b/l3kernel/l3tl.dtx
index 196b87eb6..fa377485a 100644
--- a/l3kernel/l3tl.dtx
+++ b/l3kernel/l3tl.dtx
@@ -392,6 +392,8 @@
% \regex_match:nnTF { [b-dq-w] } { example } { TRUE } { FALSE }
% \end{verbatim}
% leaves \texttt{TRUE} then \texttt{FALSE} in the input stream.
+% See \pkg{l3regex} chapter for more details of the \meta{regex}
+% format.
% \end{function}
%
% \subsection{Testing the first token}
@@ -1192,6 +1194,8 @@
% \meta{replacement}. In the \meta{replacement},
% |\0| represents the full match, |\1| represent the contents of the
% first capturing group, |\2| of the second, \emph{etc.}
+% See \pkg{l3regex} chapter for more details of the \meta{regex}
+% format.
% \end{function}
%
% \begin{function}[added = 2024-11-26]
@@ -1211,6 +1215,8 @@
% the full match, |\1| represent the contents of the first capturing
% group, |\2| of the second, \emph{etc.} Every match is treated
% independently, and matches cannot overlap.
+% See \pkg{l3regex} chapter for more details of the \meta{regex}
+% format.
% \end{function}
%
% \begin{function}[updated = 2011-08-11]
More information about the latex3-commits
mailing list.