diff options
author | Bram Moolenaar <Bram@vim.org> | 2013-09-25 16:41:54 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2013-09-25 16:41:54 +0200 |
commit | 699c12076de7d8811045cd2b98df78d7108b68ed (patch) | |
tree | a1ddc9581198575a6bc3abc861d5b8013499c8a5 /src/testdir/test64.in | |
parent | 18441ae2cdfb02d685155ba631789306f7b1b03a (diff) |
updated for version 7.4.036v7.4.036
Problem: NFA engine does not capture group correctly when using \@>. (ZyX)
Solution: Copy submatches before doing the recursive match.
Diffstat (limited to 'src/testdir/test64.in')
-rw-r--r-- | src/testdir/test64.in | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/testdir/test64.in b/src/testdir/test64.in index 7a20e1836c..ef04ba26a6 100644 --- a/src/testdir/test64.in +++ b/src/testdir/test64.in @@ -430,6 +430,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']) +:call add(tl, [2, '\(.\{-}\)\(\)\@>$', 'abc', 'abc', 'abc', '']) :" TODO: BT engine does not restore submatch after failure :call add(tl, [1, '\(a*\)\@>a\|a\+', 'aaaa', 'aaaa']) :" |