mirror of
https://github.com/vim/vim.git
synced 2025-11-15 23:14:06 -05:00
updated for version 7.3.004
Problem: Crash when using very long regexp. (Peter Odding) Solution: Reset reg_toolong. (Carlo Teubner)
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user