[latex3-commits] [git/LaTeX3-latex3-latex3] peek-regex: Minor code cleanup in l3regex (min_pos) (91989cf5d)
Bruno Le Floch
blflatex at gmail.com
Mon Jul 20 02:19:19 CEST 2020
Repository : https://github.com/latex3/latex3
On branch : peek-regex
Link : https://github.com/latex3/latex3/commit/91989cf5dc3b772f8c967a2fb6d818a4f701dd0c
>---------------------------------------------------------------
commit 91989cf5dc3b772f8c967a2fb6d818a4f701dd0c
Author: Bruno Le Floch <blflatex at gmail.com>
Date: Mon Jul 20 01:12:53 2020 +0200
Minor code cleanup in l3regex (min_pos)
>---------------------------------------------------------------
91989cf5dc3b772f8c967a2fb6d818a4f701dd0c
l3kernel/l3regex.dtx | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/l3kernel/l3regex.dtx b/l3kernel/l3regex.dtx
index 963281e84..a7d10f277 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.