annotate src/testdir/test36.in @ 5506:9417f4de27a2 v7.4.102

updated for version 7.4.102 Problem: Crash when interrupting "z=". Solution: Add safety check for word length. (Christian Brabandt, Dominique Pelle)
author Bram Moolenaar <bram@vim.org>
date Thu, 21 Nov 2013 17:42:31 +0100
parents 43de4ebbe7ad
children b6b4f354df23
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
4728
43de4ebbe7ad updated for version 7.3.1111
Bram Moolenaar <bram@vim.org>
parents: 7
diff changeset
1 Test character classes in regexp using regexpengine 0, 1, 2.
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
2
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
3 STARTTEST
4728
43de4ebbe7ad updated for version 7.3.1111
Bram Moolenaar <bram@vim.org>
parents: 7
diff changeset
4 /^start-here/+1
43de4ebbe7ad updated for version 7.3.1111
Bram Moolenaar <bram@vim.org>
parents: 7
diff changeset
5 Y:s/\%#=0\d//g
43de4ebbe7ad updated for version 7.3.1111
Bram Moolenaar <bram@vim.org>
parents: 7
diff changeset
6 p:s/\%#=1\d//g
43de4ebbe7ad updated for version 7.3.1111
Bram Moolenaar <bram@vim.org>
parents: 7
diff changeset
7 p:s/\%#=2\d//g
43de4ebbe7ad updated for version 7.3.1111
Bram Moolenaar <bram@vim.org>
parents: 7
diff changeset
8 p:s/\%#=0[0-9]//g
43de4ebbe7ad updated for version 7.3.1111
Bram Moolenaar <bram@vim.org>
parents: 7
diff changeset
9 p:s/\%#=1[0-9]//g
43de4ebbe7ad updated for version 7.3.1111
Bram Moolenaar <bram@vim.org>
parents: 7
diff changeset
10 p:s/\%#=2[0-9]//g
43de4ebbe7ad updated for version 7.3.1111
Bram Moolenaar <bram@vim.org>
parents: 7
diff changeset
11 p:s/\%#=0\D//g
43de4ebbe7ad updated for version 7.3.1111
Bram Moolenaar <bram@vim.org>
parents: 7
diff changeset
12 p:s/\%#=1\D//g
43de4ebbe7ad updated for version 7.3.1111
Bram Moolenaar <bram@vim.org>
parents: 7
diff changeset
13 p:s/\%#=2\D//g
43de4ebbe7ad updated for version 7.3.1111
Bram Moolenaar <bram@vim.org>
parents: 7
diff changeset
14 p:s/\%#=0[^0-9]//g
43de4ebbe7ad updated for version 7.3.1111
Bram Moolenaar <bram@vim.org>
parents: 7
diff changeset
15 p:s/\%#=1[^0-9]//g
43de4ebbe7ad updated for version 7.3.1111
Bram Moolenaar <bram@vim.org>
parents: 7
diff changeset
16 p:s/\%#=2[^0-9]//g
43de4ebbe7ad updated for version 7.3.1111
Bram Moolenaar <bram@vim.org>
parents: 7
diff changeset
17 p:s/\%#=0\o//g
43de4ebbe7ad updated for version 7.3.1111
Bram Moolenaar <bram@vim.org>
parents: 7
diff changeset
18 p:s/\%#=1\o//g
43de4ebbe7ad updated for version 7.3.1111
Bram Moolenaar <bram@vim.org>
parents: 7
diff changeset
19 p:s/\%#=2\o//g
43de4ebbe7ad updated for version 7.3.1111
Bram Moolenaar <bram@vim.org>
parents: 7
diff changeset
20 p:s/\%#=0[0-7]//g
43de4ebbe7ad updated for version 7.3.1111
Bram Moolenaar <bram@vim.org>
parents: 7
diff changeset
21 p:s/\%#=1[0-7]//g
43de4ebbe7ad updated for version 7.3.1111
Bram Moolenaar <bram@vim.org>
parents: 7
diff changeset
22 p:s/\%#=2[0-7]//g
43de4ebbe7ad updated for version 7.3.1111
Bram Moolenaar <bram@vim.org>
parents: 7
diff changeset
23 p:s/\%#=0\O//g
43de4ebbe7ad updated for version 7.3.1111
Bram Moolenaar <bram@vim.org>
parents: 7
diff changeset
24 p:s/\%#=1\O//g
43de4ebbe7ad updated for version 7.3.1111
Bram Moolenaar <bram@vim.org>
parents: 7
diff changeset
25 p:s/\%#=2\O//g
43de4ebbe7ad updated for version 7.3.1111
Bram Moolenaar <bram@vim.org>
parents: 7
diff changeset
26 p:s/\%#=0[^0-7]//g
43de4ebbe7ad updated for version 7.3.1111
Bram Moolenaar <bram@vim.org>
parents: 7
diff changeset
27 p:s/\%#=1[^0-7]//g
43de4ebbe7ad updated for version 7.3.1111
Bram Moolenaar <bram@vim.org>
parents: 7
diff changeset
28 p:s/\%#=2[^0-7]//g
43de4ebbe7ad updated for version 7.3.1111
Bram Moolenaar <bram@vim.org>
parents: 7
diff changeset
29 p:s/\%#=0\x//g
43de4ebbe7ad updated for version 7.3.1111
Bram Moolenaar <bram@vim.org>
parents: 7
diff changeset
30 p:s/\%#=1\x//g
43de4ebbe7ad updated for version 7.3.1111
Bram Moolenaar <bram@vim.org>
parents: 7
diff changeset
31 p:s/\%#=2\x//g
43de4ebbe7ad updated for version 7.3.1111
Bram Moolenaar <bram@vim.org>
parents: 7
diff changeset
32 p:s/\%#=0[0-9A-Fa-f]//g
43de4ebbe7ad updated for version 7.3.1111
Bram Moolenaar <bram@vim.org>
parents: 7
diff changeset
33 p:s/\%#=1[0-9A-Fa-f]//g
43de4ebbe7ad updated for version 7.3.1111
Bram Moolenaar <bram@vim.org>
parents: 7
diff changeset
34 p:s/\%#=2[0-9A-Fa-f]//g
43de4ebbe7ad updated for version 7.3.1111
Bram Moolenaar <bram@vim.org>
parents: 7
diff changeset
35 p:s/\%#=0\X//g
43de4ebbe7ad updated for version 7.3.1111
Bram Moolenaar <bram@vim.org>
parents: 7
diff changeset
36 p:s/\%#=1\X//g
43de4ebbe7ad updated for version 7.3.1111
Bram Moolenaar <bram@vim.org>
parents: 7
diff changeset
37 p:s/\%#=2\X//g
43de4ebbe7ad updated for version 7.3.1111
Bram Moolenaar <bram@vim.org>
parents: 7
diff changeset
38 p:s/\%#=0[^0-9A-Fa-f]//g
43de4ebbe7ad updated for version 7.3.1111
Bram Moolenaar <bram@vim.org>
parents: 7
diff changeset
39 p:s/\%#=1[^0-9A-Fa-f]//g
43de4ebbe7ad updated for version 7.3.1111
Bram Moolenaar <bram@vim.org>
parents: 7
diff changeset
40 p:s/\%#=2[^0-9A-Fa-f]//g
43de4ebbe7ad updated for version 7.3.1111
Bram Moolenaar <bram@vim.org>
parents: 7
diff changeset
41 p:s/\%#=0\w//g
43de4ebbe7ad updated for version 7.3.1111
Bram Moolenaar <bram@vim.org>
parents: 7
diff changeset
42 p:s/\%#=1\w//g
43de4ebbe7ad updated for version 7.3.1111
Bram Moolenaar <bram@vim.org>
parents: 7
diff changeset
43 p:s/\%#=2\w//g
43de4ebbe7ad updated for version 7.3.1111
Bram Moolenaar <bram@vim.org>
parents: 7
diff changeset
44 p:s/\%#=0[0-9A-Za-z_]//g
43de4ebbe7ad updated for version 7.3.1111
Bram Moolenaar <bram@vim.org>
parents: 7
diff changeset
45 p:s/\%#=1[0-9A-Za-z_]//g
43de4ebbe7ad updated for version 7.3.1111
Bram Moolenaar <bram@vim.org>
parents: 7
diff changeset
46 p:s/\%#=2[0-9A-Za-z_]//g
43de4ebbe7ad updated for version 7.3.1111
Bram Moolenaar <bram@vim.org>
parents: 7
diff changeset
47 p:s/\%#=0\W//g
43de4ebbe7ad updated for version 7.3.1111
Bram Moolenaar <bram@vim.org>
parents: 7
diff changeset
48 p:s/\%#=1\W//g
43de4ebbe7ad updated for version 7.3.1111
Bram Moolenaar <bram@vim.org>
parents: 7
diff changeset
49 p:s/\%#=2\W//g
43de4ebbe7ad updated for version 7.3.1111
Bram Moolenaar <bram@vim.org>
parents: 7
diff changeset
50 p:s/\%#=0[^0-9A-Za-z_]//g
43de4ebbe7ad updated for version 7.3.1111
Bram Moolenaar <bram@vim.org>
parents: 7
diff changeset
51 p:s/\%#=1[^0-9A-Za-z_]//g
43de4ebbe7ad updated for version 7.3.1111
Bram Moolenaar <bram@vim.org>
parents: 7
diff changeset
52 p:s/\%#=2[^0-9A-Za-z_]//g
43de4ebbe7ad updated for version 7.3.1111
Bram Moolenaar <bram@vim.org>
parents: 7
diff changeset
53 p:s/\%#=0\h//g
43de4ebbe7ad updated for version 7.3.1111
Bram Moolenaar <bram@vim.org>
parents: 7
diff changeset
54 p:s/\%#=1\h//g
43de4ebbe7ad updated for version 7.3.1111
Bram Moolenaar <bram@vim.org>
parents: 7
diff changeset
55 p:s/\%#=2\h//g
43de4ebbe7ad updated for version 7.3.1111
Bram Moolenaar <bram@vim.org>
parents: 7
diff changeset
56 p:s/\%#=0[A-Za-z_]//g
43de4ebbe7ad updated for version 7.3.1111
Bram Moolenaar <bram@vim.org>
parents: 7
diff changeset
57 p:s/\%#=1[A-Za-z_]//g
43de4ebbe7ad updated for version 7.3.1111
Bram Moolenaar <bram@vim.org>
parents: 7
diff changeset
58 p:s/\%#=2[A-Za-z_]//g
43de4ebbe7ad updated for version 7.3.1111
Bram Moolenaar <bram@vim.org>
parents: 7
diff changeset
59 p:s/\%#=0\H//g
43de4ebbe7ad updated for version 7.3.1111
Bram Moolenaar <bram@vim.org>
parents: 7
diff changeset
60 p:s/\%#=1\H//g
43de4ebbe7ad updated for version 7.3.1111
Bram Moolenaar <bram@vim.org>
parents: 7
diff changeset
61 p:s/\%#=2\H//g
43de4ebbe7ad updated for version 7.3.1111
Bram Moolenaar <bram@vim.org>
parents: 7
diff changeset
62 p:s/\%#=0[^A-Za-z_]//g
43de4ebbe7ad updated for version 7.3.1111
Bram Moolenaar <bram@vim.org>
parents: 7
diff changeset
63 p:s/\%#=1[^A-Za-z_]//g
43de4ebbe7ad updated for version 7.3.1111
Bram Moolenaar <bram@vim.org>
parents: 7
diff changeset
64 p:s/\%#=2[^A-Za-z_]//g
43de4ebbe7ad updated for version 7.3.1111
Bram Moolenaar <bram@vim.org>
parents: 7
diff changeset
65 p:s/\%#=0\a//g
43de4ebbe7ad updated for version 7.3.1111
Bram Moolenaar <bram@vim.org>
parents: 7
diff changeset
66 p:s/\%#=1\a//g
43de4ebbe7ad updated for version 7.3.1111
Bram Moolenaar <bram@vim.org>
parents: 7
diff changeset
67 p:s/\%#=2\a//g
43de4ebbe7ad updated for version 7.3.1111
Bram Moolenaar <bram@vim.org>
parents: 7
diff changeset
68 p:s/\%#=0[A-Za-z]//g
43de4ebbe7ad updated for version 7.3.1111
Bram Moolenaar <bram@vim.org>
parents: 7
diff changeset
69 p:s/\%#=1[A-Za-z]//g
43de4ebbe7ad updated for version 7.3.1111
Bram Moolenaar <bram@vim.org>
parents: 7
diff changeset
70 p:s/\%#=2[A-Za-z]//g
43de4ebbe7ad updated for version 7.3.1111
Bram Moolenaar <bram@vim.org>
parents: 7
diff changeset
71 p:s/\%#=0\A//g
43de4ebbe7ad updated for version 7.3.1111
Bram Moolenaar <bram@vim.org>
parents: 7
diff changeset
72 p:s/\%#=1\A//g
43de4ebbe7ad updated for version 7.3.1111
Bram Moolenaar <bram@vim.org>
parents: 7
diff changeset
73 p:s/\%#=2\A//g
43de4ebbe7ad updated for version 7.3.1111
Bram Moolenaar <bram@vim.org>
parents: 7
diff changeset
74 p:s/\%#=0[^A-Za-z]//g
43de4ebbe7ad updated for version 7.3.1111
Bram Moolenaar <bram@vim.org>
parents: 7
diff changeset
75 p:s/\%#=1[^A-Za-z]//g
43de4ebbe7ad updated for version 7.3.1111
Bram Moolenaar <bram@vim.org>
parents: 7
diff changeset
76 p:s/\%#=2[^A-Za-z]//g
43de4ebbe7ad updated for version 7.3.1111
Bram Moolenaar <bram@vim.org>
parents: 7
diff changeset
77 p:s/\%#=0\l//g
43de4ebbe7ad updated for version 7.3.1111
Bram Moolenaar <bram@vim.org>
parents: 7
diff changeset
78 p:s/\%#=1\l//g
43de4ebbe7ad updated for version 7.3.1111
Bram Moolenaar <bram@vim.org>
parents: 7
diff changeset
79 p:s/\%#=2\l//g
43de4ebbe7ad updated for version 7.3.1111
Bram Moolenaar <bram@vim.org>
parents: 7
diff changeset
80 p:s/\%#=0[a-z]//g
43de4ebbe7ad updated for version 7.3.1111
Bram Moolenaar <bram@vim.org>
parents: 7
diff changeset
81 p:s/\%#=1[a-z]//g
43de4ebbe7ad updated for version 7.3.1111
Bram Moolenaar <bram@vim.org>
parents: 7
diff changeset
82 p:s/\%#=2[a-z]//g
43de4ebbe7ad updated for version 7.3.1111
Bram Moolenaar <bram@vim.org>
parents: 7
diff changeset
83 p:s/\%#=0\L//g
43de4ebbe7ad updated for version 7.3.1111
Bram Moolenaar <bram@vim.org>
parents: 7
diff changeset
84 p:s/\%#=1\L//g
43de4ebbe7ad updated for version 7.3.1111
Bram Moolenaar <bram@vim.org>
parents: 7
diff changeset
85 p:s/\%#=2\L//g
43de4ebbe7ad updated for version 7.3.1111
Bram Moolenaar <bram@vim.org>
parents: 7
diff changeset
86 p:s/\%#=0[^a-z]//g
43de4ebbe7ad updated for version 7.3.1111
Bram Moolenaar <bram@vim.org>
parents: 7
diff changeset
87 p:s/\%#=1[^a-z]//g
43de4ebbe7ad updated for version 7.3.1111
Bram Moolenaar <bram@vim.org>
parents: 7
diff changeset
88 p:s/\%#=2[^a-z]//g
43de4ebbe7ad updated for version 7.3.1111
Bram Moolenaar <bram@vim.org>
parents: 7
diff changeset
89 p:s/\%#=0\u//g
43de4ebbe7ad updated for version 7.3.1111
Bram Moolenaar <bram@vim.org>
parents: 7
diff changeset
90 p:s/\%#=1\u//g
43de4ebbe7ad updated for version 7.3.1111
Bram Moolenaar <bram@vim.org>
parents: 7
diff changeset
91 p:s/\%#=2\u//g
43de4ebbe7ad updated for version 7.3.1111
Bram Moolenaar <bram@vim.org>
parents: 7
diff changeset
92 p:s/\%#=0[A-Z]//g
43de4ebbe7ad updated for version 7.3.1111
Bram Moolenaar <bram@vim.org>
parents: 7
diff changeset
93 p:s/\%#=1[A-Z]//g
43de4ebbe7ad updated for version 7.3.1111
Bram Moolenaar <bram@vim.org>
parents: 7
diff changeset
94 p:s/\%#=2[A-Z]//g
43de4ebbe7ad updated for version 7.3.1111
Bram Moolenaar <bram@vim.org>
parents: 7
diff changeset
95 p:s/\%#=0\U//g
43de4ebbe7ad updated for version 7.3.1111
Bram Moolenaar <bram@vim.org>
parents: 7
diff changeset
96 p:s/\%#=1\U//g
43de4ebbe7ad updated for version 7.3.1111
Bram Moolenaar <bram@vim.org>
parents: 7
diff changeset
97 p:s/\%#=2\U//g
43de4ebbe7ad updated for version 7.3.1111
Bram Moolenaar <bram@vim.org>
parents: 7
diff changeset
98 p:s/\%#=0[^A-Z]//g
43de4ebbe7ad updated for version 7.3.1111
Bram Moolenaar <bram@vim.org>
parents: 7
diff changeset
99 p:s/\%#=1[^A-Z]//g
43de4ebbe7ad updated for version 7.3.1111
Bram Moolenaar <bram@vim.org>
parents: 7
diff changeset
100 p:s/\%#=2[^A-Z]//g
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
101 :/^start-here/+1,$wq! test.out
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
102 ENDTEST
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
103
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
104 start-here
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
105 !"#$%&'()#+'-./0123456789:;<=>?@ABCDEFGHIXYZ[\]^_`abcdefghiwxyz{|}~