diff options
author | Bram Moolenaar <Bram@vim.org> | 2013-05-30 17:05:39 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2013-05-30 17:05:39 +0200 |
commit | 428e987b61720a8b23cee6a4c806c0a1c1cdcaac (patch) | |
tree | 12bb8216a60af251e985d5cc52ce74a1009130d2 /src/testdir | |
parent | fdde880b0288fd9624352aa7ee5c04eefbdff9df (diff) | |
download | vim-git-428e987b61720a8b23cee6a4c806c0a1c1cdcaac.tar.gz |
updated for version 7.3.1071v7.3.1071
Problem: New regexp engine: backreferences don't work correctly.
Solution: Add every possible start/end position on the state stack.
Diffstat (limited to 'src/testdir')
-rw-r--r-- | src/testdir/test64.in | 2 | ||||
-rw-r--r-- | src/testdir/test64.ok | 3 |
2 files changed, 4 insertions, 1 deletions
diff --git a/src/testdir/test64.in b/src/testdir/test64.in index 0c5517316..11b3b9c73 100644 --- a/src/testdir/test64.in +++ b/src/testdir/test64.in @@ -333,7 +333,7 @@ STARTTEST :" :"""" Back references :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, '\(\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']) :" :"""" Look-behind with limit diff --git a/src/testdir/test64.ok b/src/testdir/test64.ok index 7b8185306..382d6af57 100644 --- a/src/testdir/test64.ok +++ b/src/testdir/test64.ok @@ -716,6 +716,9 @@ OK 2 - \<goo\|go OK 0 - \(\i\+\) \1 OK 1 - \(\i\+\) \1 OK 2 - \(\i\+\) \1 +OK 0 - \(\i\+\) \1 +OK 1 - \(\i\+\) \1 +OK 2 - \(\i\+\) \1 OK 0 - \(a\)\(b\)\(c\)\(dd\)\(e\)\(f\)\(g\)\(h\)\(i\)\1\2\3\4\5\6\7\8\9 OK 1 - \(a\)\(b\)\(c\)\(dd\)\(e\)\(f\)\(g\)\(h\)\(i\)\1\2\3\4\5\6\7\8\9 OK 2 - \(a\)\(b\)\(c\)\(dd\)\(e\)\(f\)\(g\)\(h\)\(i\)\1\2\3\4\5\6\7\8\9 |