diff options
author | Bram Moolenaar <Bram@vim.org> | 2013-08-14 13:34:25 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2013-08-14 13:34:25 +0200 |
commit | 3f0df06c2860788c6591b03e38b7dcd5bcfd27a6 (patch) | |
tree | 4dd7a840e3f6ec5ce405a35c409e8f05b492d739 /src/testdir/test64.in | |
parent | 1cfad52a03dc391435d32ad49b2ebb9eeb0df841 (diff) | |
download | vim-git-3f0df06c2860788c6591b03e38b7dcd5bcfd27a6.tar.gz |
updated for version 7.4.002v7.4.002
Problem: Pattern with two alternative look-behind matches does not match.
(Amadeus Demarzi)
Solution: When comparing PIMs also compare their state ID to see if they are
different.
Diffstat (limited to 'src/testdir/test64.in')
-rw-r--r-- | src/testdir/test64.in | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/testdir/test64.in b/src/testdir/test64.in index b29fe76f2..ac3f13d54 100644 --- a/src/testdir/test64.in +++ b/src/testdir/test64.in @@ -421,6 +421,9 @@ STARTTEST :call add(tl, [2, '\(foo\)\@<=\>', 'barfoo', '', 'foo']) :call add(tl, [2, '\(foo\)\@<=.*', 'foobar', 'bar', 'foo']) :" +:" complicated look-behind match +:call add(tl, [2, '\(r\@<=\|\w\@<!\)\/', 'x = /word/;', '/']) +:" :""""" \@> :call add(tl, [2, '\(a*\)\@>a', 'aaaa']) :call add(tl, [2, '\(a*\)\@>b', 'aaab', 'aaab', 'aaa']) |