/[pcre]/code/trunk/testdata/testoutput15
ViewVC logotype

Diff of /code/trunk/testdata/testoutput15

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 849 by ph10, Wed Jan 4 17:02:01 2012 UTC revision 1219 by ph10, Sun Nov 11 18:04:37 2012 UTC
# Line 84  Options: utf no_utf_check Line 84  Options: utf no_utf_check
84  First char = \x{c3}  First char = \x{c3}
85  Need char = 'x'  Need char = 'x'
86    
87  /abc/8  /badutf/8
88      ร]      \xdf
 Error -10 (bad UTF-8 string) offset=0 reason=6  
     ร  
89  Error -10 (bad UTF-8 string) offset=0 reason=1  Error -10 (bad UTF-8 string) offset=0 reason=1
90      รรร      \xef
91  Error -10 (bad UTF-8 string) offset=0 reason=6  Error -10 (bad UTF-8 string) offset=0 reason=2
92      รรร\?      \xef\x80
93  No match  Error -10 (bad UTF-8 string) offset=0 reason=1
94      \xe1\x88      \xf7
95    Error -10 (bad UTF-8 string) offset=0 reason=3
96        \xf7\x80
97    Error -10 (bad UTF-8 string) offset=0 reason=2
98        \xf7\x80\x80
99  Error -10 (bad UTF-8 string) offset=0 reason=1  Error -10 (bad UTF-8 string) offset=0 reason=1
100      \P\xe1\x88      \xfb
101    Error -10 (bad UTF-8 string) offset=0 reason=4
102        \xfb\x80
103    Error -10 (bad UTF-8 string) offset=0 reason=3
104        \xfb\x80\x80
105    Error -10 (bad UTF-8 string) offset=0 reason=2
106        \xfb\x80\x80\x80
107  Error -10 (bad UTF-8 string) offset=0 reason=1  Error -10 (bad UTF-8 string) offset=0 reason=1
108      \P\P\xe1\x88      \xfd
109    Error -10 (bad UTF-8 string) offset=0 reason=5
110        \xfd\x80
111    Error -10 (bad UTF-8 string) offset=0 reason=4
112        \xfd\x80\x80
113    Error -10 (bad UTF-8 string) offset=0 reason=3
114        \xfd\x80\x80\x80
115    Error -10 (bad UTF-8 string) offset=0 reason=2
116        \xfd\x80\x80\x80\x80
117    Error -10 (bad UTF-8 string) offset=0 reason=1
118        \xdf\x7f
119    Error -10 (bad UTF-8 string) offset=0 reason=6
120        \xef\x7f\x80
121    Error -10 (bad UTF-8 string) offset=0 reason=6
122        \xef\x80\x7f
123    Error -10 (bad UTF-8 string) offset=0 reason=7
124        \xf7\x7f\x80\x80
125    Error -10 (bad UTF-8 string) offset=0 reason=6
126        \xf7\x80\x7f\x80
127    Error -10 (bad UTF-8 string) offset=0 reason=7
128        \xf7\x80\x80\x7f
129    Error -10 (bad UTF-8 string) offset=0 reason=8
130        \xfb\x7f\x80\x80\x80
131    Error -10 (bad UTF-8 string) offset=0 reason=6
132        \xfb\x80\x7f\x80\x80
133    Error -10 (bad UTF-8 string) offset=0 reason=7
134        \xfb\x80\x80\x7f\x80
135    Error -10 (bad UTF-8 string) offset=0 reason=8
136        \xfb\x80\x80\x80\x7f
137    Error -10 (bad UTF-8 string) offset=0 reason=9
138        \xfd\x7f\x80\x80\x80\x80
139    Error -10 (bad UTF-8 string) offset=0 reason=6
140        \xfd\x80\x7f\x80\x80\x80
141    Error -10 (bad UTF-8 string) offset=0 reason=7
142        \xfd\x80\x80\x7f\x80\x80
143    Error -10 (bad UTF-8 string) offset=0 reason=8
144        \xfd\x80\x80\x80\x7f\x80
145    Error -10 (bad UTF-8 string) offset=0 reason=9
146        \xfd\x80\x80\x80\x80\x7f
147    Error -10 (bad UTF-8 string) offset=0 reason=10
148        \xed\xa0\x80
149    Error -10 (bad UTF-8 string) offset=0 reason=14
150        \xc0\x8f
151    Error -10 (bad UTF-8 string) offset=0 reason=15
152        \xe0\x80\x8f
153    Error -10 (bad UTF-8 string) offset=0 reason=16
154        \xf0\x80\x80\x8f
155    Error -10 (bad UTF-8 string) offset=0 reason=17
156        \xf8\x80\x80\x80\x8f
157    Error -10 (bad UTF-8 string) offset=0 reason=18
158        \xfc\x80\x80\x80\x80\x8f
159    Error -10 (bad UTF-8 string) offset=0 reason=19
160        \x80
161    Error -10 (bad UTF-8 string) offset=0 reason=20
162        \xfe
163    Error -10 (bad UTF-8 string) offset=0 reason=21
164        \xff
165    Error -10 (bad UTF-8 string) offset=0 reason=21
166        \xef\xb7\x90
167    Error -10 (bad UTF-8 string) offset=0 reason=22
168    
169    /badutf/8
170        \xfb\x80\x80\x80\x80
171    Error -10 (bad UTF-8 string) offset=0 reason=11
172        \xfd\x80\x80\x80\x80\x80
173    Error -10 (bad UTF-8 string) offset=0 reason=12
174        \xf7\xbf\xbf\xbf
175    Error -10 (bad UTF-8 string) offset=0 reason=13
176    
177    /shortutf/8
178        \P\P\xdf
179    Error -25 (short UTF-8 string) offset=0 reason=1
180        \P\P\xef
181    Error -25 (short UTF-8 string) offset=0 reason=2
182        \P\P\xef\x80
183    Error -25 (short UTF-8 string) offset=0 reason=1
184        \P\P\xf7
185    Error -25 (short UTF-8 string) offset=0 reason=3
186        \P\P\xf7\x80
187    Error -25 (short UTF-8 string) offset=0 reason=2
188        \P\P\xf7\x80\x80
189    Error -25 (short UTF-8 string) offset=0 reason=1
190        \P\P\xfb
191    Error -25 (short UTF-8 string) offset=0 reason=4
192        \P\P\xfb\x80
193    Error -25 (short UTF-8 string) offset=0 reason=3
194        \P\P\xfb\x80\x80
195    Error -25 (short UTF-8 string) offset=0 reason=2
196        \P\P\xfb\x80\x80\x80
197    Error -25 (short UTF-8 string) offset=0 reason=1
198        \P\P\xfd
199    Error -25 (short UTF-8 string) offset=0 reason=5
200        \P\P\xfd\x80
201    Error -25 (short UTF-8 string) offset=0 reason=4
202        \P\P\xfd\x80\x80
203    Error -25 (short UTF-8 string) offset=0 reason=3
204        \P\P\xfd\x80\x80\x80
205    Error -25 (short UTF-8 string) offset=0 reason=2
206        \P\P\xfd\x80\x80\x80\x80
207  Error -25 (short UTF-8 string) offset=0 reason=1  Error -25 (short UTF-8 string) offset=0 reason=1
     XX\xea  
 Error -10 (bad UTF-8 string) offset=2 reason=2  
     \O0XX\xea  
 Error -10 (bad UTF-8 string)  
     \O1XX\xea  
 Error -10 (bad UTF-8 string)  
     \O2XX\xea  
 Error -10 (bad UTF-8 string) offset=2 reason=2  
     XX\xf1  
 Error -10 (bad UTF-8 string) offset=2 reason=3  
     XX\xf8  
 Error -10 (bad UTF-8 string) offset=2 reason=4  
     XX\xfc  
 Error -10 (bad UTF-8 string) offset=2 reason=5  
     ZZ\xea\xaf\x20YY  
 Error -10 (bad UTF-8 string) offset=2 reason=7  
     ZZ\xfd\xbf\xbf\x2f\xbf\xbfYY  
 Error -10 (bad UTF-8 string) offset=2 reason=8  
     ZZ\xfd\xbf\xbf\xbf\x2f\xbfYY  
 Error -10 (bad UTF-8 string) offset=2 reason=9  
     ZZ\xfd\xbf\xbf\xbf\xbf\x2fYY  
 Error -10 (bad UTF-8 string) offset=2 reason=10  
     ZZ\xffYY  
 Error -10 (bad UTF-8 string) offset=2 reason=21  
     ZZ\xfeYY  
 Error -10 (bad UTF-8 string) offset=2 reason=21  
208    
209  /anything/8  /anything/8
210      \xc0\x80      \xc0\x80
# Line 170  No match Line 250  No match
250      \?\xfd\x83\x80\x80\x80\x80      \?\xfd\x83\x80\x80\x80\x80
251  No match  No match
252    
253    /noncharacter/8
254        \x{fffe}
255    Error -10 (bad UTF-8 string) offset=0 reason=22
256        \x{ffff}
257    Error -10 (bad UTF-8 string) offset=0 reason=22
258        \x{1fffe}
259    Error -10 (bad UTF-8 string) offset=0 reason=22
260        \x{1ffff}
261    Error -10 (bad UTF-8 string) offset=0 reason=22
262        \x{2fffe}
263    Error -10 (bad UTF-8 string) offset=0 reason=22
264        \x{2ffff}
265    Error -10 (bad UTF-8 string) offset=0 reason=22
266        \x{3fffe}
267    Error -10 (bad UTF-8 string) offset=0 reason=22
268        \x{3ffff}
269    Error -10 (bad UTF-8 string) offset=0 reason=22
270        \x{4fffe}
271    Error -10 (bad UTF-8 string) offset=0 reason=22
272        \x{4ffff}
273    Error -10 (bad UTF-8 string) offset=0 reason=22
274        \x{5fffe}
275    Error -10 (bad UTF-8 string) offset=0 reason=22
276        \x{5ffff}
277    Error -10 (bad UTF-8 string) offset=0 reason=22
278        \x{6fffe}
279    Error -10 (bad UTF-8 string) offset=0 reason=22
280        \x{6ffff}
281    Error -10 (bad UTF-8 string) offset=0 reason=22
282        \x{7fffe}
283    Error -10 (bad UTF-8 string) offset=0 reason=22
284        \x{7ffff}
285    Error -10 (bad UTF-8 string) offset=0 reason=22
286        \x{8fffe}
287    Error -10 (bad UTF-8 string) offset=0 reason=22
288        \x{8ffff}
289    Error -10 (bad UTF-8 string) offset=0 reason=22
290        \x{9fffe}
291    Error -10 (bad UTF-8 string) offset=0 reason=22
292        \x{9ffff}
293    Error -10 (bad UTF-8 string) offset=0 reason=22
294        \x{afffe}
295    Error -10 (bad UTF-8 string) offset=0 reason=22
296        \x{affff}
297    Error -10 (bad UTF-8 string) offset=0 reason=22
298        \x{bfffe}
299    Error -10 (bad UTF-8 string) offset=0 reason=22
300        \x{bffff}
301    Error -10 (bad UTF-8 string) offset=0 reason=22
302        \x{cfffe}
303    Error -10 (bad UTF-8 string) offset=0 reason=22
304        \x{cffff}
305    Error -10 (bad UTF-8 string) offset=0 reason=22
306        \x{dfffe}
307    Error -10 (bad UTF-8 string) offset=0 reason=22
308        \x{dffff}
309    Error -10 (bad UTF-8 string) offset=0 reason=22
310        \x{efffe}
311    Error -10 (bad UTF-8 string) offset=0 reason=22
312        \x{effff}
313    Error -10 (bad UTF-8 string) offset=0 reason=22
314        \x{ffffe}
315    Error -10 (bad UTF-8 string) offset=0 reason=22
316        \x{fffff}
317    Error -10 (bad UTF-8 string) offset=0 reason=22
318        \x{10fffe}
319    Error -10 (bad UTF-8 string) offset=0 reason=22
320        \x{10ffff}
321    Error -10 (bad UTF-8 string) offset=0 reason=22
322        \x{fdd0}
323    Error -10 (bad UTF-8 string) offset=0 reason=22
324        \x{fdd1}
325    Error -10 (bad UTF-8 string) offset=0 reason=22
326        \x{fdd2}
327    Error -10 (bad UTF-8 string) offset=0 reason=22
328        \x{fdd3}
329    Error -10 (bad UTF-8 string) offset=0 reason=22
330        \x{fdd4}
331    Error -10 (bad UTF-8 string) offset=0 reason=22
332        \x{fdd5}
333    Error -10 (bad UTF-8 string) offset=0 reason=22
334        \x{fdd6}
335    Error -10 (bad UTF-8 string) offset=0 reason=22
336        \x{fdd7}
337    Error -10 (bad UTF-8 string) offset=0 reason=22
338        \x{fdd8}
339    Error -10 (bad UTF-8 string) offset=0 reason=22
340        \x{fdd9}
341    Error -10 (bad UTF-8 string) offset=0 reason=22
342        \x{fdda}
343    Error -10 (bad UTF-8 string) offset=0 reason=22
344        \x{fddb}
345    Error -10 (bad UTF-8 string) offset=0 reason=22
346        \x{fddc}
347    Error -10 (bad UTF-8 string) offset=0 reason=22
348        \x{fddd}
349    Error -10 (bad UTF-8 string) offset=0 reason=22
350        \x{fdde}
351    Error -10 (bad UTF-8 string) offset=0 reason=22
352        \x{fddf}
353    Error -10 (bad UTF-8 string) offset=0 reason=22
354        \x{fde0}
355    Error -10 (bad UTF-8 string) offset=0 reason=22
356        \x{fde1}
357    Error -10 (bad UTF-8 string) offset=0 reason=22
358        \x{fde2}
359    Error -10 (bad UTF-8 string) offset=0 reason=22
360        \x{fde3}
361    Error -10 (bad UTF-8 string) offset=0 reason=22
362        \x{fde4}
363    Error -10 (bad UTF-8 string) offset=0 reason=22
364        \x{fde5}
365    Error -10 (bad UTF-8 string) offset=0 reason=22
366        \x{fde6}
367    Error -10 (bad UTF-8 string) offset=0 reason=22
368        \x{fde7}
369    Error -10 (bad UTF-8 string) offset=0 reason=22
370        \x{fde8}
371    Error -10 (bad UTF-8 string) offset=0 reason=22
372        \x{fde9}
373    Error -10 (bad UTF-8 string) offset=0 reason=22
374        \x{fdea}
375    Error -10 (bad UTF-8 string) offset=0 reason=22
376        \x{fdeb}
377    Error -10 (bad UTF-8 string) offset=0 reason=22
378        \x{fdec}
379    Error -10 (bad UTF-8 string) offset=0 reason=22
380        \x{fded}
381    Error -10 (bad UTF-8 string) offset=0 reason=22
382        \x{fdee}
383    Error -10 (bad UTF-8 string) offset=0 reason=22
384        \x{fdef}
385    Error -10 (bad UTF-8 string) offset=0 reason=22
386    
387  /\x{100}/8DZ  /\x{100}/8DZ
388  ------------------------------------------------------------------  ------------------------------------------------------------------
389          Bra          Bra
# Line 560  Need char = \x{81} Line 774  Need char = \x{81}
774  /[^\x{c4}]/DZ  /[^\x{c4}]/DZ
775  ------------------------------------------------------------------  ------------------------------------------------------------------
776          Bra          Bra
777          [^\xc4]          [^\x{c4}]
778          Ket          Ket
779          End          End
780  ------------------------------------------------------------------  ------------------------------------------------------------------
# Line 606  Need char = \x{bf} Line 820  Need char = \x{bf}
820  /[^\xff]/8DZ  /[^\xff]/8DZ
821  ------------------------------------------------------------------  ------------------------------------------------------------------
822          Bra          Bra
823          [\x00-\xfe] (neg)          [^\x{ff}]
824          Ket          Ket
825          End          End
826  ------------------------------------------------------------------  ------------------------------------------------------------------
# Line 678  Failed: missing terminating ] for charac Line 892  Failed: missing terminating ] for charac
892    
893  /X/8  /X/8
894      \x{0}\x{d7ff}\x{e000}\x{10ffff}      \x{0}\x{d7ff}\x{e000}\x{10ffff}
895  No match  Error -10 (bad UTF-8 string) offset=7 reason=22
896      \x{d800}      \x{d800}
897  Error -10 (bad UTF-8 string) offset=0 reason=14  Error -10 (bad UTF-8 string) offset=0 reason=14
898      \x{d800}\?      \x{d800}\?
# Line 708  No match Line 922  No match
922    abcd\x{1234}pqr    abcd\x{1234}pqr
923   0: \x{1234}   0: \x{1234}
924    
925  /(*CRLF)(*UTF8)(*BSR_UNICODE)a\Rb/I  /(*CRLF)(*UTF)(*BSR_UNICODE)a\Rb/I
926  Capturing subpattern count = 0  Capturing subpattern count = 0
927  Options: bsr_unicode utf  Options: bsr_unicode utf
928  Forced newline sequence: CRLF  Forced newline sequence: CRLF
# Line 868  Starting byte set: \xe1 Line 1082  Starting byte set: \xe1
1082  /[^\x{c4}]/8DZ  /[^\x{c4}]/8DZ
1083  ------------------------------------------------------------------  ------------------------------------------------------------------
1084          Bra          Bra
1085          [\x00-\xc3\xc5-\xff] (neg)          [^\x{c4}]
1086          Ket          Ket
1087          End          End
1088  ------------------------------------------------------------------  ------------------------------------------------------------------
# Line 910  Options: utf Line 1124  Options: utf
1124  First char = \x{c7}  First char = \x{c7}
1125  Need char = \x{bf}  Need char = \x{bf}
1126    
1127    /\w+\x{C4}/8BZ
1128    ------------------------------------------------------------------
1129            Bra
1130            \w++
1131            \x{c4}
1132            Ket
1133            End
1134    ------------------------------------------------------------------
1135        a\x{C4}\x{C4}
1136     0: a\x{c4}
1137    
1138    /\w+\x{C4}/8BZT1
1139    ------------------------------------------------------------------
1140            Bra
1141            \w+
1142            \x{c4}
1143            Ket
1144            End
1145    ------------------------------------------------------------------
1146        a\x{C4}\x{C4}
1147     0: a\x{c4}\x{c4}
1148    
1149    /\W+\x{C4}/8BZ
1150    ------------------------------------------------------------------
1151            Bra
1152            \W+
1153            \x{c4}
1154            Ket
1155            End
1156    ------------------------------------------------------------------
1157        !\x{C4}
1158     0: !\x{c4}
1159    
1160    /\W+\x{C4}/8BZT1
1161    ------------------------------------------------------------------
1162            Bra
1163            \W++
1164            \x{c4}
1165            Ket
1166            End
1167    ------------------------------------------------------------------
1168        !\x{C4}
1169     0: !\x{c4}
1170    
1171    /\W+\x{A1}/8BZ
1172    ------------------------------------------------------------------
1173            Bra
1174            \W+
1175            \x{a1}
1176            Ket
1177            End
1178    ------------------------------------------------------------------
1179        !\x{A1}
1180     0: !\x{a1}
1181    
1182    /\W+\x{A1}/8BZT1
1183    ------------------------------------------------------------------
1184            Bra
1185            \W+
1186            \x{a1}
1187            Ket
1188            End
1189    ------------------------------------------------------------------
1190        !\x{A1}
1191     0: !\x{a1}
1192    
1193    /X\s+\x{A0}/8BZ
1194    ------------------------------------------------------------------
1195            Bra
1196            X
1197            \s++
1198            \x{a0}
1199            Ket
1200            End
1201    ------------------------------------------------------------------
1202        X\x20\x{A0}\x{A0}
1203     0: X \x{a0}
1204    
1205    /X\s+\x{A0}/8BZT1
1206    ------------------------------------------------------------------
1207            Bra
1208            X
1209            \s+
1210            \x{a0}
1211            Ket
1212            End
1213    ------------------------------------------------------------------
1214        X\x20\x{A0}\x{A0}
1215     0: X \x{a0}\x{a0}
1216    
1217    /\S+\x{A0}/8BZ
1218    ------------------------------------------------------------------
1219            Bra
1220            \S+
1221            \x{a0}
1222            Ket
1223            End
1224    ------------------------------------------------------------------
1225        X\x{A0}\x{A0}
1226     0: X\x{a0}\x{a0}
1227    
1228    /\S+\x{A0}/8BZT1
1229    ------------------------------------------------------------------
1230            Bra
1231            \S++
1232            \x{a0}
1233            Ket
1234            End
1235    ------------------------------------------------------------------
1236        X\x{A0}\x{A0}
1237     0: X\x{a0}
1238    
1239    /\x{a0}+\s!/8BZ
1240    ------------------------------------------------------------------
1241            Bra
1242            \x{a0}++
1243            \s
1244            !
1245            Ket
1246            End
1247    ------------------------------------------------------------------
1248        \x{a0}\x20!
1249     0: \x{a0} !
1250    
1251    /\x{a0}+\s!/8BZT1
1252    ------------------------------------------------------------------
1253            Bra
1254            \x{a0}+
1255            \s
1256            !
1257            Ket
1258            End
1259    ------------------------------------------------------------------
1260        \x{a0}\x20!
1261     0: \x{a0} !
1262    
1263    /A/8
1264      \x{ff000041}
1265    ** Character \x{ff000041} is greater than 0x7fffffff and so cannot be converted to UTF-8
1266      \x{7f000041}
1267    Error -10 (bad UTF-8 string) offset=0 reason=12
1268    
1269  /-- End of testinput15 --/  /-- End of testinput15 --/

Legend:
Removed from v.849  
changed lines
  Added in v.1219

  ViewVC Help
Powered by ViewVC 1.1.5