diff options
author | Bram Moolenaar <Bram@vim.org> | 2014-05-13 15:56:51 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2014-05-13 15:56:51 +0200 |
commit | ee4825331aeb3f517f8a51d0c21c743655352fb3 (patch) | |
tree | 2512c976ac45fa6f6b5ef3d06942ba7356200327 /src/testdir/test64.in | |
parent | be578edae30d1292ddbf1f63518175fa45567ab8 (diff) | |
download | vim-git-ee4825331aeb3f517f8a51d0c21c743655352fb3.tar.gz |
updated for version 7.4.289v7.4.289
Problem: Pattern with repeated backreference does not match with new regexp
engine. (Urtica Dioica)
Solution: Also check the end of a submatch when deciding to put a state in
the state list.
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 29bf0b902..e3f5d82a4 100644 --- a/src/testdir/test64.in +++ b/src/testdir/test64.in @@ -407,6 +407,7 @@ STARTTEST :call add(tl, [2, '^.*\.\(.*\)/.\+\(\1\)\@<=$', 'foo.bat/foo.bat', 'foo.bat/foo.bat', 'bat', 'bat']) :call add(tl, [2, '\\\@<!\${\(\d\+\%(:.\{-}\)\?\\\@<!\)}', '2013-06-27${0}', '${0}', '0']) :call add(tl, [2, '^\(a*\)\1$', 'aaaaaaaa', 'aaaaaaaa', 'aaaa']) +:call add(tl, [2, '^\(a\{-2,}\)\1\+$', 'aaaaaaaaa', 'aaaaaaaaa', 'aaa']) :" :"""" Look-behind with limit :call add(tl, [2, '<\@<=span.', 'xxspanxx<spanyyy', 'spany']) |