Mercurial > vim
annotate src/testdir/test36.in @ 12281:2738b0cc5f64 v8.0.1020
patch 8.0.1020: when a timer calls getchar(1) input is overwritten
commit https://github.com/vim/vim/commit/0f0f230012f5a9beb6876158a17b432534836c6f
Author: Bram Moolenaar <Bram@vim.org>
Date: Wed Aug 30 18:52:56 2017 +0200
patch 8.0.1020: when a timer calls getchar(1) input is overwritten
Problem: When a timer calls getchar(1) input is overwritten.
Solution: Increment tb_change_cnt in inchar(). (closes https://github.com/vim/vim/issues/1940)
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Wed, 30 Aug 2017 19:00:05 +0200 |
parents | 0ade9dd85156 |
children |
rev | line source |
---|---|
4728 | 1 Test character classes in regexp using regexpengine 0, 1, 2. |
7 | 2 |
3 STARTTEST | |
4728 | 4 /^start-here/+1 |
5 Y:s/\%#=0\d//g | |
6 p:s/\%#=1\d//g | |
7 p:s/\%#=2\d//g | |
8 p:s/\%#=0[0-9]//g | |
9 p:s/\%#=1[0-9]//g | |
10 p:s/\%#=2[0-9]//g | |
11 p:s/\%#=0\D//g | |
12 p:s/\%#=1\D//g | |
13 p:s/\%#=2\D//g | |
14 p:s/\%#=0[^0-9]//g | |
15 p:s/\%#=1[^0-9]//g | |
16 p:s/\%#=2[^0-9]//g | |
17 p:s/\%#=0\o//g | |
18 p:s/\%#=1\o//g | |
19 p:s/\%#=2\o//g | |
20 p:s/\%#=0[0-7]//g | |
21 p:s/\%#=1[0-7]//g | |
22 p:s/\%#=2[0-7]//g | |
23 p:s/\%#=0\O//g | |
24 p:s/\%#=1\O//g | |
25 p:s/\%#=2\O//g | |
26 p:s/\%#=0[^0-7]//g | |
27 p:s/\%#=1[^0-7]//g | |
28 p:s/\%#=2[^0-7]//g | |
29 p:s/\%#=0\x//g | |
30 p:s/\%#=1\x//g | |
31 p:s/\%#=2\x//g | |
32 p:s/\%#=0[0-9A-Fa-f]//g | |
33 p:s/\%#=1[0-9A-Fa-f]//g | |
34 p:s/\%#=2[0-9A-Fa-f]//g | |
35 p:s/\%#=0\X//g | |
36 p:s/\%#=1\X//g | |
37 p:s/\%#=2\X//g | |
38 p:s/\%#=0[^0-9A-Fa-f]//g | |
39 p:s/\%#=1[^0-9A-Fa-f]//g | |
40 p:s/\%#=2[^0-9A-Fa-f]//g | |
41 p:s/\%#=0\w//g | |
42 p:s/\%#=1\w//g | |
43 p:s/\%#=2\w//g | |
44 p:s/\%#=0[0-9A-Za-z_]//g | |
45 p:s/\%#=1[0-9A-Za-z_]//g | |
46 p:s/\%#=2[0-9A-Za-z_]//g | |
47 p:s/\%#=0\W//g | |
48 p:s/\%#=1\W//g | |
49 p:s/\%#=2\W//g | |
50 p:s/\%#=0[^0-9A-Za-z_]//g | |
51 p:s/\%#=1[^0-9A-Za-z_]//g | |
52 p:s/\%#=2[^0-9A-Za-z_]//g | |
53 p:s/\%#=0\h//g | |
54 p:s/\%#=1\h//g | |
55 p:s/\%#=2\h//g | |
56 p:s/\%#=0[A-Za-z_]//g | |
57 p:s/\%#=1[A-Za-z_]//g | |
58 p:s/\%#=2[A-Za-z_]//g | |
59 p:s/\%#=0\H//g | |
60 p:s/\%#=1\H//g | |
61 p:s/\%#=2\H//g | |
62 p:s/\%#=0[^A-Za-z_]//g | |
63 p:s/\%#=1[^A-Za-z_]//g | |
64 p:s/\%#=2[^A-Za-z_]//g | |
65 p:s/\%#=0\a//g | |
66 p:s/\%#=1\a//g | |
67 p:s/\%#=2\a//g | |
68 p:s/\%#=0[A-Za-z]//g | |
69 p:s/\%#=1[A-Za-z]//g | |
70 p:s/\%#=2[A-Za-z]//g | |
71 p:s/\%#=0\A//g | |
72 p:s/\%#=1\A//g | |
73 p:s/\%#=2\A//g | |
74 p:s/\%#=0[^A-Za-z]//g | |
75 p:s/\%#=1[^A-Za-z]//g | |
76 p:s/\%#=2[^A-Za-z]//g | |
77 p:s/\%#=0\l//g | |
78 p:s/\%#=1\l//g | |
79 p:s/\%#=2\l//g | |
80 p:s/\%#=0[a-z]//g | |
81 p:s/\%#=1[a-z]//g | |
82 p:s/\%#=2[a-z]//g | |
83 p:s/\%#=0\L//g | |
84 p:s/\%#=1\L//g | |
85 p:s/\%#=2\L//g | |
86 p:s/\%#=0[^a-z]//g | |
87 p:s/\%#=1[^a-z]//g | |
88 p:s/\%#=2[^a-z]//g | |
89 p:s/\%#=0\u//g | |
90 p:s/\%#=1\u//g | |
91 p:s/\%#=2\u//g | |
92 p:s/\%#=0[A-Z]//g | |
93 p:s/\%#=1[A-Z]//g | |
94 p:s/\%#=2[A-Z]//g | |
95 p:s/\%#=0\U//g | |
96 p:s/\%#=1\U//g | |
97 p:s/\%#=2\U//g | |
98 p:s/\%#=0[^A-Z]//g | |
99 p:s/\%#=1[^A-Z]//g | |
100 p:s/\%#=2[^A-Z]//g | |
11469
0ade9dd85156
patch 8.0.0618: NFA regex engine handles [0-z] incorrectly
Christian Brabandt <cb@256bit.org>
parents:
8021
diff
changeset
|
101 p:s/\%#=0\%210l^\t...//g |
0ade9dd85156
patch 8.0.0618: NFA regex engine handles [0-z] incorrectly
Christian Brabandt <cb@256bit.org>
parents:
8021
diff
changeset
|
102 p:s/\%#=1\%211l^\t...//g |
0ade9dd85156
patch 8.0.0618: NFA regex engine handles [0-z] incorrectly
Christian Brabandt <cb@256bit.org>
parents:
8021
diff
changeset
|
103 p:s/\%#=2\%212l^\t...//g |
0ade9dd85156
patch 8.0.0618: NFA regex engine handles [0-z] incorrectly
Christian Brabandt <cb@256bit.org>
parents:
8021
diff
changeset
|
104 p:s/\%#=0[0-z]//g |
0ade9dd85156
patch 8.0.0618: NFA regex engine handles [0-z] incorrectly
Christian Brabandt <cb@256bit.org>
parents:
8021
diff
changeset
|
105 p:s/\%#=1[0-z]//g |
0ade9dd85156
patch 8.0.0618: NFA regex engine handles [0-z] incorrectly
Christian Brabandt <cb@256bit.org>
parents:
8021
diff
changeset
|
106 p:s/\%#=2[0-z]//g |
0ade9dd85156
patch 8.0.0618: NFA regex engine handles [0-z] incorrectly
Christian Brabandt <cb@256bit.org>
parents:
8021
diff
changeset
|
107 p:s/\%#=0[^0-z]//g |
0ade9dd85156
patch 8.0.0618: NFA regex engine handles [0-z] incorrectly
Christian Brabandt <cb@256bit.org>
parents:
8021
diff
changeset
|
108 p:s/\%#=1[^0-z]//g |
0ade9dd85156
patch 8.0.0618: NFA regex engine handles [0-z] incorrectly
Christian Brabandt <cb@256bit.org>
parents:
8021
diff
changeset
|
109 p:s/\%#=2[^0-z]//g |
7 | 110 :/^start-here/+1,$wq! test.out |
111 ENDTEST | |
112 | |
113 start-here | |
114 !"#$%&'()#+'-./0123456789:;<=>?@ABCDEFGHIXYZ[\]^_`abcdefghiwxyz{|}~ |