summaryrefslogtreecommitdiffstats
path: root/src/testdir/test64.in
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2013-06-02 16:07:10 +0200
committerBram Moolenaar <Bram@vim.org>2013-06-02 16:07:10 +0200
commitb122e9798e058645ab3936eb12e02bd61403ac33 (patch)
treefc2d16eb4a5eda6dc2e045362c1eb77ff87c307e /src/testdir/test64.in
parent69afb7bf0aef4e9b39acbdb7849dd9c44b1345c5 (diff)
updated for version 7.3.1093v7.3.1093
Problem: New regexp engine: When a sub expression is empty \1 skips a character. Solution: Make \1 try the current position when the match is emtpy.
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 78909246f7..4d892af7c7 100644
--- a/src/testdir/test64.in
+++ b/src/testdir/test64.in
@@ -361,6 +361,7 @@ STARTTEST
:call add(tl, [2, '\(\i\+\) \1', ' abc abc', 'abc abc', 'abc'])
:call add(tl, [2, '\(\i\+\) \1', 'xgoo goox', 'goo goo', 'goo'])
: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', ''])
:"
:"""" Look-behind with limit
:call add(tl, [2, '<\@<=span.', 'xxspanxx<spanyyy', 'spany'])