On 11 Sep, 19:02, Carlo <[email protected]> wrote:
> I believe I've got a patch for this (see below).

Just changing the subject for visibility of my patch (same one
included again below). Apologies for the spam.

Carlo


diff --git a/src/regexp.c b/src/regexp.c
--- a/src/regexp.c
+++ b/src/regexp.c
@@ -3339,6 +3339,7 @@ vim_regexec(rmp, line, col)
     reg_maxline = 0;
     reg_line_lbr = FALSE;
     reg_win = NULL;
+    reg_toolong = FALSE;
     ireg_ic = rmp->rm_ic;
 #ifdef FEAT_MBYTE
     ireg_icombine = FALSE;
@@ -3363,6 +3364,7 @@ vim_regexec_nl(rmp, line, col)
     reg_maxline = 0;
     reg_line_lbr = TRUE;
     reg_win = NULL;
+    reg_toolong = FALSE;
     ireg_ic = rmp->rm_ic;
 #ifdef FEAT_MBYTE
     ireg_icombine = FALSE;
@@ -3399,6 +3401,7 @@ vim_regexec_multi(rmp, win, buf, lnum, c
     reg_firstlnum = lnum;
     reg_maxline = reg_buf->b_ml.ml_line_count - lnum;
     reg_line_lbr = FALSE;
+    reg_toolong = FALSE;
     ireg_ic = rmp->rmm_ic;
 #ifdef FEAT_MBYTE
     ireg_icombine = FALSE;

-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

Raspunde prin e-mail lui