diff options
author | Bram Moolenaar <Bram@vim.org> | 2013-06-04 18:28:48 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2013-06-04 18:28:48 +0200 |
commit | dacd7de3fd5edd8f3a41ba3c9c389b653b6a9e5d (patch) | |
tree | b7c94afb57d66ab24bdc53e9362501e177ed0aee /src/testdir | |
parent | f811509c036306595be026f5e49dde170abb216c (diff) | |
download | vim-git-dacd7de3fd5edd8f3a41ba3c9c389b653b6a9e5d.tar.gz |
updated for version 7.3.1112v7.3.1112
Problem: New regexp engine: \%V not supported.
Solution: Implement \%V. Add tests.
Diffstat (limited to 'src/testdir')
-rw-r--r-- | src/testdir/test64.in | 14 | ||||
-rw-r--r-- | src/testdir/test64.ok | 5 |
2 files changed, 19 insertions, 0 deletions
diff --git a/src/testdir/test64.in b/src/testdir/test64.in index 4d892af7c..253100220 100644 --- a/src/testdir/test64.in +++ b/src/testdir/test64.in @@ -458,6 +458,14 @@ y$Gop:" :.yank Gop:" :" +:" Check matching Visual area +/^Visual: +jfxvfx:s/\%Ve/E/g +jV:s/\%Va/A/g +jfxfxj:s/\%Vo/O/g +:/^Visual/+1,/^Visual/+4yank +Gop:" +:" :" Check patterns matching cursor position. :func! Postest() new @@ -520,4 +528,10 @@ xxxstart2 asdfasd<yy xxstart3 +Visual: +thexe the thexethe +andaxand andaxand +oooxofor foroxooo +oooxofor foroxooo + Results of test64: diff --git a/src/testdir/test64.ok b/src/testdir/test64.ok index 0e2f772b0..401f28ee0 100644 --- a/src/testdir/test64.ok +++ b/src/testdir/test64.ok @@ -857,6 +857,11 @@ OK 2 - [0-9a-zA-Z]\{8}-\([0-9a-zA-Z]\{4}-\)\{3}[0-9a-zA-Z]\{12} ghi xxstart3 + +thexE thE thExethe +AndAxAnd AndAxAnd +oooxOfOr fOrOxooo +oooxOfOr fOrOxooo -0- ffo bob |