summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/regexp.c4
-rw-r--r--src/version.c2
2 files changed, 6 insertions, 0 deletions
diff --git a/src/regexp.c b/src/regexp.c
index 9ac712eeb..7344928ff 100644
--- a/src/regexp.c
+++ b/src/regexp.c
@@ -8376,11 +8376,15 @@ vim_regexec_multi(
#ifdef FEAT_EVAL
report_re_switch(pat);
#endif
+#ifdef FEAT_SYN_HL
// checking for \z misuse was already done when compiling for NFA,
// allow all here
reg_do_extmatch = REX_ALL;
+#endif
rmp->regprog = vim_regcomp(pat, re_flags);
+#ifdef FEAT_SYN_HL
reg_do_extmatch = 0;
+#endif
if (rmp->regprog != NULL)
result = rmp->regprog->engine->regexec_multi(
diff --git a/src/version.c b/src/version.c
index a2da37ed8..a38cdda3a 100644
--- a/src/version.c
+++ b/src/version.c
@@ -762,6 +762,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
+ 102,
+/**/
101,
/**/
100,