Mercurial > vim
comparison src/testdir/test64.in @ 4571:b2a8e3a66f8c v7.3.1033
updated for version 7.3.1033
Problem: "\1" .. "\9" are not supported in the new regexp engine.
Solution: Implement them. Add a few more tests.
author | Bram Moolenaar <bram@vim.org> |
---|---|
date | Tue, 28 May 2013 22:03:20 +0200 |
parents | f262fb02889d |
children | 7a2be4a39423 |
comparison
equal
deleted
inserted
replaced
4570:7f988965bc43 | 4571:b2a8e3a66f8c |
---|---|
329 :"""" Alternatives, must use first longest match | 329 :"""" Alternatives, must use first longest match |
330 :call add(tl, [2, 'goo\|go', 'google', 'goo']) | 330 :call add(tl, [2, 'goo\|go', 'google', 'goo']) |
331 :call add(tl, [2, '\<goo\|\<go', 'google', 'goo']) | 331 :call add(tl, [2, '\<goo\|\<go', 'google', 'goo']) |
332 :call add(tl, [2, '\<goo\|go', 'google', 'goo']) | 332 :call add(tl, [2, '\<goo\|go', 'google', 'goo']) |
333 :" | 333 :" |
334 :"""" Back references | |
335 :call add(tl, [2, '\(\i\+\) \1', ' abc abc', 'abc abc', 'abc']) | |
336 :"call add(tl, [2, '\(\i\+\) \1', 'xgoo goox', 'goo goo', 'goo']) | |
337 :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']) | |
334 :" | 338 :" |
335 :"""" Run the tests | 339 :"""" Run the tests |
336 :" | 340 :" |
337 :" | 341 :" |
338 :for t in tl | 342 :for t in tl |