summaryrefslogtreecommitdiff
path: root/src/testdir/test64.in
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2013-06-26 12:42:44 +0200
committerBram Moolenaar <Bram@vim.org>2013-06-26 12:42:44 +0200
commitf86c0b01a74fa3e5e37033ac037ef3af41d81a8d (patch)
treee5aa3c08ae51c23e97f8b94637da548ae86d7425 /src/testdir/test64.in
parentdaa270289b0eeb8467b1fea47e72d4727f2f7d28 (diff)
downloadvim-git-f86c0b01a74fa3e5e37033ac037ef3af41d81a8d.tar.gz
updated for version 7.3.1243v7.3.1243
Problem: New regexp engine: back references in look-behind match don't work. (Lech Lorens) Solution: Copy the submatches before a recursive match.
Diffstat (limited to 'src/testdir/test64.in')
-rw-r--r--src/testdir/test64.in3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/testdir/test64.in b/src/testdir/test64.in
index 7c141797d..4fdbcf73e 100644
--- a/src/testdir/test64.in
+++ b/src/testdir/test64.in
@@ -380,6 +380,9 @@ STARTTEST
:call add(tl, [2, '\(a\)\(b\)\(c\)\(dd\)\(e\)\(f\)\(g\)\(h\)\(i\)\1\2\3\4\5\6\7\8\9', 'xabcddefghiabcddefghix', 'abcddefghiabcddefghi', 'a', 'b', 'c', 'dd', 'e', 'f', 'g', 'h', 'i'])
:call add(tl, [2, '\(\d*\)a \1b', ' a b ', 'a b', ''])
:call add(tl, [2, '^.\(.\).\_..\1.', "aaa\naaa\nb", "aaa\naaa", 'a'])
+:call add(tl, [2, '^.*\.\(.*\)/.\+\(\1\)\@<!$', 'foo.bat/foo.com', 'foo.bat/foo.com', 'bat'])
+:call add(tl, [2, '^.*\.\(.*\)/.\+\(\1\)\@<!$', 'foo.bat/foo.bat'])
+:call add(tl, [2, '^.*\.\(.*\)/.\+\(\1\)\@<=$', 'foo.bat/foo.bat', 'foo.bat/foo.bat', 'bat', 'bat'])
:"
:"""" Look-behind with limit
:call add(tl, [2, '<\@<=span.', 'xxspanxx<spanyyy', 'spany'])