[latex3-commits] [latex3/latex3] gh890: Add an example for seq splitting (412aa8369)
github at latex-project.org
github at latex-project.org
Wed Nov 27 09:33:33 CET 2024
Repository : https://github.com/latex3/latex3
On branch : gh890
Link : https://github.com/latex3/latex3/commit/412aa836979321c381618d6e16b1116d156a0cd2
>---------------------------------------------------------------
commit 412aa836979321c381618d6e16b1116d156a0cd2
Author: Joseph Wright <joseph at texdev.net>
Date: Wed Nov 27 08:33:33 2024 +0000
Add an example for seq splitting
>---------------------------------------------------------------
412aa836979321c381618d6e16b1116d156a0cd2
l3kernel/l3seq.dtx | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/l3kernel/l3seq.dtx b/l3kernel/l3seq.dtx
index d44c6f5ce..82c01cce5 100644
--- a/l3kernel/l3seq.dtx
+++ b/l3kernel/l3seq.dtx
@@ -228,6 +228,12 @@
% \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.
+% For example, after
+% \begin{verbatim}
+% \seq_set_regex_split:Nnn \l_path_seq { / } { the/path/for/this/file.tex }
+% \end{verbatim}
+% the sequence |\l_path_seq| contains the items |{the}|, |{path}|,
+% |{for}|, |{this}|, and |{file.tex}|.
% See \pkg{l3regex} chapter for more details of the \meta{regex}
% format.
% \end{function}
More information about the latex3-commits
mailing list.