comparison 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
comparison
equal deleted inserted replaced
5675:7ea91c82839f 5676:9ac2fc63501d
16 bc 16 bc
17 c 17 c
18 a 18 a
19 -1 19 -1
20 0 20 0
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
21 SEARCH: 43 SEARCH:
22 searchmatch 44 searchmatch
23 abcdx | | abcdx 45 abcdx | | abcdx
24 join lines 46 join lines
25 zerowidth pattern 47 zerowidth pattern
28 my very excellent mongoose just served us nachos 50 my very excellent mongoose just served us nachos
29 for (j=0; i<=10; i++) 51 for (j=0; i<=10; i++)
30 52
31 text 53 text
32 Y 54 Y
55 --1
56
57 --2
58
59 --3
60 DEPP
61 --4
62 DEPP
63 --5
33 end: 64 end: