Mercurial > vim
annotate src/testdir/test53.ok @ 5676:9ac2fc63501d v7.4.184
updated for version 7.4.184
Problem: match() does not work properly with a {count} argument.
Solution: Compute the length once and update it. Quit the loop when at the
end. (Hirohito Higashi)
author | Bram Moolenaar <bram@vim.org> |
---|---|
date | Sat, 22 Feb 2014 22:18:47 +0100 |
parents | eb33cadafcab |
children | eb0fb921e197 |
rev | line source |
---|---|
12 | 1 start: foo |
2 xxxxxxxxxxxx'piep' | |
3 bla bla blah | |
4 out " in "" | |
5 "'" 'blah'yyyyy'buh' | |
6 bla `` b`la | |
7 voo "zzzzzzzzzzzzzzzzzzzzzzzzzzzzsd | |
853 | 8 |
9 <begin> | |
10 -<b>asdf<i></i>asdf</b>- | |
11 -<b></b>- | |
12 -<b>asdfasdf</b>- | |
13 -- | |
14 </begin> | |
19 | 15 b |
16 bc | |
17 c | |
18 a | |
19 -1 | |
20 0 | |
5676 | 21 0 |
22 1 | |
23 2 | |
24 -1 | |
25 1 | |
26 2 | |
27 -1 | |
28 3 | |
29 -1 | |
30 3 | |
31 3 | |
32 3 | |
33 -1 | |
34 0 | |
35 1 | |
36 2 | |
37 3 | |
38 -1 | |
39 1 | |
40 2 | |
41 3 | |
42 -1 | |
3701 | 43 SEARCH: |
44 searchmatch | |
45 abcdx | | abcdx | |
3774 | 46 join lines |
47 zerowidth pattern | |
48 elete first and last char | |
3778 | 49 uniquepattern |
3857 | 50 my very excellent mongoose just served us nachos |
5064
8875401008da
updated for version 7.3.1275
Bram Moolenaar <bram@vim.org>
parents:
3857
diff
changeset
|
51 for (j=0; i<=10; i++) |
5398 | 52 |
53 text | |
54 Y | |
5676 | 55 --1 |
56 | |
57 --2 | |
58 | |
59 --3 | |
60 DEPP | |
61 --4 | |
62 DEPP | |
63 --5 | |
12 | 64 end: |