Mercurial > vim
diff src/vim.h @ 6533:bdc8e71633e4 v7.4.593
updated for version 7.4.593
Problem: Crash when searching for "x\{0,90000}". (Dominique Pelle)
Solution: Bail out from the NFA engine when the max limit is much higher
than the min limit.
author | Bram Moolenaar <bram@vim.org> |
---|---|
date | Tue, 27 Jan 2015 12:59:55 +0100 |
parents | de877dab1c31 |
children | 68e0e6bb8250 |
line wrap: on
line diff
--- a/src/vim.h +++ b/src/vim.h @@ -1020,6 +1020,7 @@ extern char *(*dyn_libintl_textdomain)(c #define RE_MAGIC 1 /* 'magic' option */ #define RE_STRING 2 /* match in string instead of buffer text */ #define RE_STRICT 4 /* don't allow [abc] without ] */ +#define RE_AUTO 8 /* automatic engine selection */ #ifdef FEAT_SYN_HL /* values for reg_do_extmatch */