diff options
author | Bram Moolenaar <Bram@vim.org> | 2018-06-23 14:21:42 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2018-06-23 14:21:42 +0200 |
commit | bcf9442307075bac40d44328c8bf7ea21857b138 (patch) | |
tree | 6890b363128e8cbffe09b274ecd1b1665393fac1 /runtime/doc/eval.txt | |
parent | 5efa0102de6ed6049fb19e1e83787e5b3b24b6a2 (diff) | |
download | vim-git-bcf9442307075bac40d44328c8bf7ea21857b138.tar.gz |
patch 8.1.0098: segfault when pattern with \z() is very slowv8.1.0098
Problem: Segfault when pattern with \z() is very slow.
Solution: Check for NULL regprog. Add "nfa_fail" to test_override() to be
able to test this. Fix that 'searchhl' resets called_emsg.
Diffstat (limited to 'runtime/doc/eval.txt')
-rw-r--r-- | runtime/doc/eval.txt | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/runtime/doc/eval.txt b/runtime/doc/eval.txt index d4c58e81f..5ae0f6bca 100644 --- a/runtime/doc/eval.txt +++ b/runtime/doc/eval.txt @@ -8694,6 +8694,8 @@ test_override({name}, {val}) *test_override()* redraw disable the redrawing() function char_avail disable the char_avail() function starting reset the "starting" variable, see below + nfa_fail makes the NFA regexp engine fail to force a + fallback to the old engine ALL clear all overrides ({val} is not used) "starting" is to be used when a test should behave like |