From 398d53decf7e02550b45a6f5c46fa02e08bb99fe Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Thu, 1 Aug 2013 15:45:52 +0200 Subject: 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. --- src/testdir/test64.ok | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/testdir/test64.ok') diff --git a/src/testdir/test64.ok b/src/testdir/test64.ok index d08227f2c..c778e9eef 100644 --- a/src/testdir/test64.ok +++ b/src/testdir/test64.ok @@ -776,6 +776,9 @@ OK 2 - ^\%(.*bar\)\@!.*\zsfoo OK 0 - [ ]\@!\p\%([ ]\@!\p\)*: OK 1 - [ ]\@!\p\%([ ]\@!\p\)*: OK 2 - [ ]\@!\p\%([ ]\@!\p\)*: +OK 0 - [ ]\@!\p\([ ]\@!\p\)*: +OK 1 - [ ]\@!\p\([ ]\@!\p\)*: +OK 2 - [ ]\@!\p\([ ]\@!\p\)*: OK 0 - m\k\+_\@=\%(_\@!\k\)\@<=\k\+e OK 1 - m\k\+_\@=\%(_\@!\k\)\@<=\k\+e OK 2 - m\k\+_\@=\%(_\@!\k\)\@<=\k\+e -- cgit v1.2.1