diff options
author | Bram Moolenaar <Bram@vim.org> | 2013-06-14 20:31:28 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2013-06-14 20:31:28 +0200 |
commit | 580abea48a0de604b40aca734b22f3ea7c0e7531 (patch) | |
tree | 97a686d40514e922dd5f22a18cdec0424d6b8d15 /src/testdir/test64.in | |
parent | 6e70736cbc3ed8bf7178ffa884e022d916d0c1bf (diff) |
updated for version 7.3.1191v7.3.1191
Problem: Backreference to previous line doesn't work. (Lech Lorens)
Solution: Implement looking in another line.
Diffstat (limited to 'src/testdir/test64.in')
-rw-r--r-- | src/testdir/test64.in | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/src/testdir/test64.in b/src/testdir/test64.in index 51cdb31e8e..fe61ed3f26 100644 --- a/src/testdir/test64.in +++ b/src/testdir/test64.in @@ -486,6 +486,12 @@ y$Gop:" :.yank Gop:" :" +:" Check using a backref matching in a previous line +/^Backref: +/\v.*\/(.*)\n.*\/\1$ +:.yank +Gop:" +:" :" Check a pattern with a look beind crossing a line boundary /^Behind: /\(<\_[xy]\+\)\@3<=start @@ -566,6 +572,13 @@ a b c +Backref: +./Dir1/Dir2/zyxwvuts.txt +./Dir1/Dir2/abcdefgh.bat + +./Dir1/Dir2/file1.txt +./OtherDir1/OtherDir2/file1.txt + Behind: asdfasd<yyy xxstart1 |