summaryrefslogtreecommitdiff
path: root/src/testdir/test64.in
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2013-09-05 16:05:36 +0200
committerBram Moolenaar <Bram@vim.org>2013-09-05 16:05:36 +0200
commit78c93e4b6a87720a50ac14c40aa077ed6b86145b (patch)
tree3e075f5c593b8503f26ddc28b51b92ea08111275 /src/testdir/test64.in
parent00b764aa4115271aa553c8443adc6cec6859e69e (diff)
downloadvim-git-78c93e4b6a87720a50ac14c40aa077ed6b86145b.tar.gz
updated for version 7.4.020v7.4.020
Problem: NFA engine matches too much with \@>. (John McGowan) Solution: When a whole pattern match is found stop searching.
Diffstat (limited to 'src/testdir/test64.in')
-rw-r--r--src/testdir/test64.in1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/testdir/test64.in b/src/testdir/test64.in
index ac3f13d54..8f7008c1a 100644
--- a/src/testdir/test64.in
+++ b/src/testdir/test64.in
@@ -427,6 +427,7 @@ STARTTEST
:""""" \@>
:call add(tl, [2, '\(a*\)\@>a', 'aaaa'])
:call add(tl, [2, '\(a*\)\@>b', 'aaab', 'aaab', 'aaa'])
+:call add(tl, [2, '^\(.\{-}b\)\@>.', ' abcbd', ' abc', ' ab'])
:" TODO: BT engine does not restore submatch after failure
:call add(tl, [1, '\(a*\)\@>a\|a\+', 'aaaa', 'aaaa'])
:"