[latex3-commits] [git/LaTeX3-latex3-latex3] master: Minor code cleanup in l3regex (min_pos) (00c117ac0)
Joseph Wright
joseph.wright at morningstar2.co.uk
Thu Dec 3 17:27:34 CET 2020
Repository : https://github.com/latex3/latex3
On branch : master
Link : https://github.com/latex3/latex3/commit/00c117ac0b06e5a8a1389a5cc270753f16957247
>---------------------------------------------------------------
commit 00c117ac0b06e5a8a1389a5cc270753f16957247
Author: Bruno Le Floch <blflatex at gmail.com>
Date: Mon Jul 20 01:12:53 2020 +0200
Minor code cleanup in l3regex (min_pos)
>---------------------------------------------------------------
00c117ac0b06e5a8a1389a5cc270753f16957247
l3kernel/l3regex.dtx | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/l3kernel/l3regex.dtx b/l3kernel/l3regex.dtx
index 4c7d33e80..98088779a 100644
--- a/l3kernel/l3regex.dtx
+++ b/l3kernel/l3regex.dtx
@@ -4643,7 +4643,6 @@
% \begin{macrocode}
\cs_new_protected:Npn \@@_match:n #1
{
- \int_set:Nn \l_@@_min_pos_int { 2 }
\@@_match_init:
\@@_match_once_init:
\tl_analysis_map_inline:nn {#1}
@@ -4653,7 +4652,6 @@
}
\cs_new_protected:Npn \@@_match_cs:n #1
{
- \int_set:Nn \l_@@_min_pos_int { 2 }
\int_set_eq:NN \l_@@_min_thread_int \l_@@_max_thread_int
\@@_match_init:
\@@_match_once_init:
@@ -4676,6 +4674,7 @@
\g_@@_state_active_intarray {##1} { 1 }
}
\int_zero:N \l_@@_step_int
+ \int_set:Nn \l_@@_min_pos_int { 2 }
\int_set_eq:NN \l_@@_success_pos_int \l_@@_min_pos_int
\int_set:Nn \l_@@_last_char_success_int { -2 }
\tl_build_begin:N \l_@@_matched_analysis_tl
More information about the latex3-commits
mailing list.