1 |
/-- This set of tests is run only with the 8-bit library when Unicode property
|
2 |
support is available. It starts with tests of the POSIX interface, because
|
3 |
that is supported only with the 8-bit library. --/
|
4 |
|
5 |
/\w/P
|
6 |
+++\x{c2}
|
7 |
No match: POSIX code 17: match failed
|
8 |
|
9 |
/\w/WP
|
10 |
+++\x{c2}
|
11 |
0: \xc2
|
12 |
|
13 |
/A\x{391}\x{10427}\x{ff3a}\x{1fb0}/8iDZ
|
14 |
------------------------------------------------------------------
|
15 |
Bra
|
16 |
/i A\x{391}\x{10427}\x{ff3a}\x{1fb0}
|
17 |
Ket
|
18 |
End
|
19 |
------------------------------------------------------------------
|
20 |
Capturing subpattern count = 0
|
21 |
Options: caseless utf
|
22 |
First char = 'A' (caseless)
|
23 |
No need char
|
24 |
|
25 |
/A\x{391}\x{10427}\x{ff3a}\x{1fb0}/8DZ
|
26 |
------------------------------------------------------------------
|
27 |
Bra
|
28 |
A\x{391}\x{10427}\x{ff3a}\x{1fb0}
|
29 |
Ket
|
30 |
End
|
31 |
------------------------------------------------------------------
|
32 |
Capturing subpattern count = 0
|
33 |
Options: utf
|
34 |
First char = 'A'
|
35 |
Need char = \x{b0}
|
36 |
|
37 |
/AB\x{1fb0}/8DZ
|
38 |
------------------------------------------------------------------
|
39 |
Bra
|
40 |
AB\x{1fb0}
|
41 |
Ket
|
42 |
End
|
43 |
------------------------------------------------------------------
|
44 |
Capturing subpattern count = 0
|
45 |
Options: utf
|
46 |
First char = 'A'
|
47 |
Need char = \x{b0}
|
48 |
|
49 |
/AB\x{1fb0}/8DZi
|
50 |
------------------------------------------------------------------
|
51 |
Bra
|
52 |
/i AB\x{1fb0}
|
53 |
Ket
|
54 |
End
|
55 |
------------------------------------------------------------------
|
56 |
Capturing subpattern count = 0
|
57 |
Options: caseless utf
|
58 |
First char = 'A' (caseless)
|
59 |
Need char = 'B' (caseless)
|
60 |
|
61 |
/\x{401}\x{420}\x{421}\x{422}\x{423}\x{424}\x{425}\x{426}\x{427}\x{428}\x{429}\x{42a}\x{42b}\x{42c}\x{42d}\x{42e}\x{42f}/8iSI
|
62 |
Capturing subpattern count = 0
|
63 |
Options: caseless utf
|
64 |
No first char
|
65 |
No need char
|
66 |
Subject length lower bound = 17
|
67 |
Starting chars: \xd0 \xd1
|
68 |
\x{401}\x{420}\x{421}\x{422}\x{423}\x{424}\x{425}\x{426}\x{427}\x{428}\x{429}\x{42a}\x{42b}\x{42c}\x{42d}\x{42e}\x{42f}
|
69 |
0: \x{401}\x{420}\x{421}\x{422}\x{423}\x{424}\x{425}\x{426}\x{427}\x{428}\x{429}\x{42a}\x{42b}\x{42c}\x{42d}\x{42e}\x{42f}
|
70 |
\x{451}\x{440}\x{441}\x{442}\x{443}\x{444}\x{445}\x{446}\x{447}\x{448}\x{449}\x{44a}\x{44b}\x{44c}\x{44d}\x{44e}\x{44f}
|
71 |
0: \x{451}\x{440}\x{441}\x{442}\x{443}\x{444}\x{445}\x{446}\x{447}\x{448}\x{449}\x{44a}\x{44b}\x{44c}\x{44d}\x{44e}\x{44f}
|
72 |
|
73 |
/[ⱥ]/8iBZ
|
74 |
------------------------------------------------------------------
|
75 |
Bra
|
76 |
/i \x{2c65}
|
77 |
Ket
|
78 |
End
|
79 |
------------------------------------------------------------------
|
80 |
|
81 |
/[^ⱥ]/8iBZ
|
82 |
------------------------------------------------------------------
|
83 |
Bra
|
84 |
/i [^\x{2c65}]
|
85 |
Ket
|
86 |
End
|
87 |
------------------------------------------------------------------
|
88 |
|
89 |
/\h/SI
|
90 |
Capturing subpattern count = 0
|
91 |
No options
|
92 |
No first char
|
93 |
No need char
|
94 |
Subject length lower bound = 1
|
95 |
Starting chars: \x09 \x20 \xa0
|
96 |
|
97 |
/\v/SI
|
98 |
Capturing subpattern count = 0
|
99 |
No options
|
100 |
No first char
|
101 |
No need char
|
102 |
Subject length lower bound = 1
|
103 |
Starting chars: \x0a \x0b \x0c \x0d \x85
|
104 |
|
105 |
/\R/SI
|
106 |
Capturing subpattern count = 0
|
107 |
No options
|
108 |
No first char
|
109 |
No need char
|
110 |
Subject length lower bound = 1
|
111 |
Starting chars: \x0a \x0b \x0c \x0d \x85
|
112 |
|
113 |
/[[:blank:]]/WBZ
|
114 |
------------------------------------------------------------------
|
115 |
Bra
|
116 |
[\x09 \xa0]
|
117 |
Ket
|
118 |
End
|
119 |
------------------------------------------------------------------
|
120 |
|
121 |
/\x{212a}+/i8SI
|
122 |
Capturing subpattern count = 0
|
123 |
Options: caseless utf
|
124 |
No first char
|
125 |
No need char
|
126 |
Subject length lower bound = 1
|
127 |
Starting chars: K k \xe2
|
128 |
KKkk\x{212a}
|
129 |
0: KKkk\x{212a}
|
130 |
|
131 |
/s+/i8SI
|
132 |
Capturing subpattern count = 0
|
133 |
Options: caseless utf
|
134 |
No first char
|
135 |
No need char
|
136 |
Subject length lower bound = 1
|
137 |
Starting chars: S s \xc5
|
138 |
SSss\x{17f}
|
139 |
0: SSss\x{17f}
|
140 |
|
141 |
/[\W\p{Any}]/BZ
|
142 |
------------------------------------------------------------------
|
143 |
Bra
|
144 |
[\x00-/:-@[-^`{-\xff\p{Any}]
|
145 |
Ket
|
146 |
End
|
147 |
------------------------------------------------------------------
|
148 |
abc
|
149 |
0: a
|
150 |
123
|
151 |
0: 1
|
152 |
|
153 |
/[\W\pL]/BZ
|
154 |
------------------------------------------------------------------
|
155 |
Bra
|
156 |
[\x00-/:-@[-^`{-\xff\p{L}]
|
157 |
Ket
|
158 |
End
|
159 |
------------------------------------------------------------------
|
160 |
abc
|
161 |
0: a
|
162 |
** Failers
|
163 |
0: *
|
164 |
123
|
165 |
No match
|
166 |
|
167 |
/[\D]/8
|
168 |
\x{1d7cf}
|
169 |
0: \x{1d7cf}
|
170 |
|
171 |
/[\D\P{Nd}]/8
|
172 |
\x{1d7cf}
|
173 |
0: \x{1d7cf}
|
174 |
|
175 |
/[^\D]/8
|
176 |
a9b
|
177 |
0: 9
|
178 |
** Failers
|
179 |
No match
|
180 |
\x{1d7cf}
|
181 |
No match
|
182 |
|
183 |
/[^\D\P{Nd}]/8
|
184 |
a9b
|
185 |
0: 9
|
186 |
\x{1d7cf}
|
187 |
0: \x{1d7cf}
|
188 |
** Failers
|
189 |
No match
|
190 |
\x{10000}
|
191 |
No match
|
192 |
|
193 |
/-- End of testinput16 --/
|