[latex3-commits] [latex3/latex3] main: Drop a sentence in comment for `\__regex_replacement_put_submatch:n` (7eb30a4e4)
github at latex-project.org
github at latex-project.org
Mon Oct 30 23:02:46 CET 2023
Repository : https://github.com/latex3/latex3
On branch : main
Link : https://github.com/latex3/latex3/commit/7eb30a4e4ff075172ee3b44e79f915f51801245d
>---------------------------------------------------------------
commit 7eb30a4e4ff075172ee3b44e79f915f51801245d
Author: Yukai Chou <muzimuzhi at gmail.com>
Date: Tue Oct 31 05:05:38 2023 +0800
Drop a sentence in comment for `\__regex_replacement_put_submatch:n`
The mentioned `\exp_not:N` was dropped in commit
49c3147b (Correct computation of brace balance in regex_case functions (see #433), 2021-05-16).
>---------------------------------------------------------------
7eb30a4e4ff075172ee3b44e79f915f51801245d
l3kernel/l3regex.dtx | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/l3kernel/l3regex.dtx b/l3kernel/l3regex.dtx
index 833bdd1b5..fe2a964bb 100644
--- a/l3kernel/l3regex.dtx
+++ b/l3kernel/l3regex.dtx
@@ -6056,9 +6056,7 @@
% Unless the submatch appears inside a |\c{...}| or |\u{...}|
% construction, it must be taken into account in the brace balance.
% Later on, |##1| will be replaced by a pointer to the $0$-th submatch for a
-% given match. There is an \cs{exp_not:N} here as at the point-of-use
-% of \cs{g_@@_balance_tl} there is an \texttt{x}-type expansion which is needed
-% to get |##1| in correctly.
+% given match.
% \begin{macrocode}
\cs_new_protected:Npn \@@_replacement_put_submatch:n #1
{
More information about the latex3-commits
mailing list.