Mercurial > vim
comparison src/testdir/test64.in @ 4615:5679b8ddd8cc v7.3.1055
updated for version 7.3.1055
Problem: Negated collection does not match newline.
Solution: Handle newline differently. (Hiroshi Shirosaki)
author | Bram Moolenaar <bram@vim.org> |
---|---|
date | Thu, 30 May 2013 11:51:08 +0200 |
parents | 321cfbef9431 |
children | 857f6c53f117 |
comparison
equal
deleted
inserted
replaced
4614:560c247794b8 | 4615:5679b8ddd8cc |
---|---|
342 :call add(tl, [0, '<\@2<=span.', 'xxspanxx<spanyyy', 'spany']) | 342 :call add(tl, [0, '<\@2<=span.', 'xxspanxx<spanyyy', 'spany']) |
343 :call add(tl, [0, '\(<<\)\@<=span.', 'xxspanxxxx<spanxx<<spanyyy', 'spany', '<<']) | 343 :call add(tl, [0, '\(<<\)\@<=span.', 'xxspanxxxx<spanxx<<spanyyy', 'spany', '<<']) |
344 :call add(tl, [0, '\(<<\)\@1<=span.', 'xxspanxxxx<spanxx<<spanyyy']) | 344 :call add(tl, [0, '\(<<\)\@1<=span.', 'xxspanxxxx<spanxx<<spanyyy']) |
345 :call add(tl, [0, '\(<<\)\@2<=span.', 'xxspanxxxx<spanxx<<spanyyy', 'spany', '<<']) | 345 :call add(tl, [0, '\(<<\)\@2<=span.', 'xxspanxxxx<spanxx<<spanyyy', 'spany', '<<']) |
346 :" | 346 :" |
347 :"""" "\_" prepended negated collection matches EOL | |
348 :call add(tl, [2, '\_[^8-9]\+', "asfi\n9888", "asfi\n"]) | |
349 :call add(tl, [2, '\_[^a]\+', "asfi\n9888", "sfi\n9888"]) | |
350 :" | |
351 :" | |
347 :"""" Run the tests | 352 :"""" Run the tests |
348 :" | |
349 :" | 353 :" |
350 :for t in tl | 354 :for t in tl |
351 : let re = t[0] | 355 : let re = t[0] |
352 : let pat = t[1] | 356 : let pat = t[1] |
353 : let text = t[2] | 357 : let text = t[2] |