From bcdf6c829c6761de02484473ebe43fa3760adcaa Mon Sep 17 00:00:00 2001 From: Norbert Preining Date: Wed, 12 May 2021 03:01:15 +0000 Subject: CTAN sync 202105120301 --- macros/latex/contrib/l3kernel/l3token.dtx | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) (limited to 'macros/latex/contrib/l3kernel/l3token.dtx') diff --git a/macros/latex/contrib/l3kernel/l3token.dtx b/macros/latex/contrib/l3kernel/l3token.dtx index 3db1f706c8..ce65d87061 100644 --- a/macros/latex/contrib/l3kernel/l3token.dtx +++ b/macros/latex/contrib/l3kernel/l3token.dtx @@ -43,7 +43,7 @@ % }^^A % } % -% \date{Released 2021-05-07} +% \date{Released 2021-05-11} % % \maketitle % @@ -1080,6 +1080,15 @@ % \cs{peek_regex:nTF} as control sequences, while functions that % inspect individual tokens (for instance \cs{peek_charcode:NTF}) % only take into account their meaning. +% +% The \cs{peek_regex:nTF} function only inspects as few tokens as +% necessary to determine whether the regular expression matches. +% For instance \cs{peek_regex:nTF} \verb"{ abc | [a-z] }" |{ } { }| +% |abc| will only inspect the first token~|a| even though the first +% branch |abc| of the alternative is preferred in functions such as +% \cs{peek_regex_remove_once:n}. This may have an effect on +% tokenization if the input stream has not yet been tokenized and +% category codes are changed. % \end{texnote} % \end{function} % -- cgit v1.2.3