summaryrefslogtreecommitdiff
path: root/src/regexp.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/regexp.c')
-rw-r--r--src/regexp.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/regexp.c b/src/regexp.c
index 480f4cc6..57ea7369 100644
--- a/src/regexp.c
+++ b/src/regexp.c
@@ -3538,6 +3538,7 @@ vim_regexec_both(line, col, tm)
regline = line;
reglnum = 0;
+ reg_toolong = FALSE;
/* Simplest case: Anchored match need be tried only once. */
if (prog->reganch)