diff options
author | Bram Moolenaar <Bram@vim.org> | 2013-05-30 11:51:08 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2013-05-30 11:51:08 +0200 |
commit | bad704fa0478c914e1089531bc61ac78009afaec (patch) | |
tree | d09d6f17df0ee4199d193f0eb48e2e51be782bb4 /src/testdir/test64.in | |
parent | 7e28384a9a009852414a5fe3a44bcdcbd82a52d8 (diff) | |
download | vim-git-bad704fa0478c914e1089531bc61ac78009afaec.tar.gz |
updated for version 7.3.1055v7.3.1055
Problem: Negated collection does not match newline.
Solution: Handle newline differently. (Hiroshi Shirosaki)
Diffstat (limited to 'src/testdir/test64.in')
-rw-r--r-- | src/testdir/test64.in | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/testdir/test64.in b/src/testdir/test64.in index 192d45672..0c5517316 100644 --- a/src/testdir/test64.in +++ b/src/testdir/test64.in @@ -344,8 +344,12 @@ STARTTEST :call add(tl, [0, '\(<<\)\@1<=span.', 'xxspanxxxx<spanxx<<spanyyy']) :call add(tl, [0, '\(<<\)\@2<=span.', 'xxspanxxxx<spanxx<<spanyyy', 'spany', '<<']) :" -:"""" Run the tests +:"""" "\_" prepended negated collection matches EOL +:call add(tl, [2, '\_[^8-9]\+', "asfi\n9888", "asfi\n"]) +:call add(tl, [2, '\_[^a]\+', "asfi\n9888", "sfi\n9888"]) +:" :" +:"""" Run the tests :" :for t in tl : let re = t[0] |