Mercurial > vim
diff src/testdir/test64.in @ 5251:2e63b6c763f7 v7.4b.002
updated for version 7.4b.002
Problem: Crash searching for \%(\%(\|\d\|-\|\.\)*\|\*\). (Marcin
Szamotulski) Also for \(\)*.
Solution: Do add a state for opening parenthesis, so that we can check if it
was added before at the same position.
author | Bram Moolenaar <bram@vim.org> |
---|---|
date | Thu, 01 Aug 2013 15:45:52 +0200 |
parents | a08fa2919f2b |
children | 3c6e2b89875f |
line wrap: on
line diff
--- a/src/testdir/test64.in +++ b/src/testdir/test64.in @@ -340,6 +340,7 @@ STARTTEST :call add(tl, [2, '^\%(.*bar\)\@!.*\zsfoo', ' foo bar ']) :call add(tl, [2, '^\%(.*bar\)\@!.*\zsfoo', ' foo xxx ', 'foo']) :call add(tl, [2, '[ ]\@!\p\%([ ]\@!\p\)*:', 'implicit mappings:', 'mappings:']) +:call add(tl, [2, '[ ]\@!\p\([ ]\@!\p\)*:', 'implicit mappings:', 'mappings:', 's']) :call add(tl, [2, 'm\k\+_\@=\%(_\@!\k\)\@<=\k\+e', 'mx__xe', 'mx__xe']) :call add(tl, [2, '\%(\U\@<=S\k*\|S\l\)R', 'SuR', 'SuR']) :"