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

Contents of /code/trunk/testdata/testoutput5

Parent Directory Parent Directory | Revision Log Revision Log


Revision 67 - (show annotations) (download)
Sat Feb 24 21:40:13 2007 UTC (7 years, 7 months ago) by nigel
File size: 18789 byte(s)
Load pcre-4.2 into code/trunk.

1 PCRE version 4.2 14-Apr-2003
2
3 /\x{100}/8DM
4 Memory allocation (code space): 11
5 ------------------------------------------------------------------
6 0 7 Bra 0
7 3 2 \x{100}
8 7 7 Ket
9 10 End
10 ------------------------------------------------------------------
11 Capturing subpattern count = 0
12 Options: utf8
13 First char = 196
14 Need char = 128
15
16 /\x{1000}/8DM
17 Memory allocation (code space): 12
18 ------------------------------------------------------------------
19 0 8 Bra 0
20 3 3 \x{1000}
21 8 8 Ket
22 11 End
23 ------------------------------------------------------------------
24 Capturing subpattern count = 0
25 Options: utf8
26 First char = 225
27 Need char = 128
28
29 /\x{10000}/8DM
30 Memory allocation (code space): 13
31 ------------------------------------------------------------------
32 0 9 Bra 0
33 3 4 \x{10000}
34 9 9 Ket
35 12 End
36 ------------------------------------------------------------------
37 Capturing subpattern count = 0
38 Options: utf8
39 First char = 240
40 Need char = 128
41
42 /\x{100000}/8DM
43 Memory allocation (code space): 13
44 ------------------------------------------------------------------
45 0 9 Bra 0
46 3 4 \x{100000}
47 9 9 Ket
48 12 End
49 ------------------------------------------------------------------
50 Capturing subpattern count = 0
51 Options: utf8
52 First char = 244
53 Need char = 128
54
55 /\x{1000000}/8DM
56 Memory allocation (code space): 14
57 ------------------------------------------------------------------
58 0 10 Bra 0
59 3 5 \x{1000000}
60 10 10 Ket
61 13 End
62 ------------------------------------------------------------------
63 Capturing subpattern count = 0
64 Options: utf8
65 First char = 249
66 Need char = 128
67
68 /\x{4000000}/8DM
69 Memory allocation (code space): 15
70 ------------------------------------------------------------------
71 0 11 Bra 0
72 3 6 \x{4000000}
73 11 11 Ket
74 14 End
75 ------------------------------------------------------------------
76 Capturing subpattern count = 0
77 Options: utf8
78 First char = 252
79 Need char = 128
80
81 /\x{7fffFFFF}/8DM
82 Memory allocation (code space): 15
83 ------------------------------------------------------------------
84 0 11 Bra 0
85 3 6 \x{7fffffff}
86 11 11 Ket
87 14 End
88 ------------------------------------------------------------------
89 Capturing subpattern count = 0
90 Options: utf8
91 First char = 253
92 Need char = 191
93
94 /[\x{ff}]/8DM
95 Memory allocation (code space): 40
96 ------------------------------------------------------------------
97 0 36 Bra 0
98 3 [\xff]
99 36 36 Ket
100 39 End
101 ------------------------------------------------------------------
102 Capturing subpattern count = 0
103 Options: utf8
104 No first char
105 No need char
106
107 /[\x{100}]/8DM
108 Memory allocation (code space): 47
109 ------------------------------------------------------------------
110 0 11 Bra 0
111 3 [\x{100}]
112 11 11 Ket
113 14 End
114 ------------------------------------------------------------------
115 Capturing subpattern count = 0
116 Options: utf8
117 No first char
118 No need char
119
120 /\x{ffffffff}/8
121 Failed: character value in \x{...} sequence is too large at offset 11
122
123 /\x{100000000}/8
124 Failed: character value in \x{...} sequence is too large at offset 12
125
126 /^\x{100}a\x{1234}/8
127 \x{100}a\x{1234}bcd
128 0: \x{100}a\x{1234}
129
130 /\x80/8D
131 ------------------------------------------------------------------
132 0 7 Bra 0
133 3 2 \x{80}
134 7 7 Ket
135 10 End
136 ------------------------------------------------------------------
137 Capturing subpattern count = 0
138 Options: utf8
139 First char = 194
140 Need char = 128
141
142 /\xff/8D
143 ------------------------------------------------------------------
144 0 7 Bra 0
145 3 2 \x{ff}
146 7 7 Ket
147 10 End
148 ------------------------------------------------------------------
149 Capturing subpattern count = 0
150 Options: utf8
151 First char = 195
152 Need char = 191
153
154 /\x{0041}\x{2262}\x{0391}\x{002e}/D8
155 ------------------------------------------------------------------
156 0 12 Bra 0
157 3 7 A\x{2262}\x{391}.
158 12 12 Ket
159 15 End
160 ------------------------------------------------------------------
161 Capturing subpattern count = 0
162 Options: utf8
163 First char = 'A'
164 Need char = '.'
165 \x{0041}\x{2262}\x{0391}\x{002e}
166 0: A\x{2262}\x{391}.
167
168 /\x{D55c}\x{ad6d}\x{C5B4}/D8
169 ------------------------------------------------------------------
170 0 14 Bra 0
171 3 9 \x{d55c}\x{ad6d}\x{c5b4}
172 14 14 Ket
173 17 End
174 ------------------------------------------------------------------
175 Capturing subpattern count = 0
176 Options: utf8
177 First char = 237
178 Need char = 180
179 \x{D55c}\x{ad6d}\x{C5B4}
180 0: \x{d55c}\x{ad6d}\x{c5b4}
181
182 /\x{65e5}\x{672c}\x{8a9e}/D8
183 ------------------------------------------------------------------
184 0 14 Bra 0
185 3 9 \x{65e5}\x{672c}\x{8a9e}
186 14 14 Ket
187 17 End
188 ------------------------------------------------------------------
189 Capturing subpattern count = 0
190 Options: utf8
191 First char = 230
192 Need char = 158
193 \x{65e5}\x{672c}\x{8a9e}
194 0: \x{65e5}\x{672c}\x{8a9e}
195
196 /\x{80}/D8
197 ------------------------------------------------------------------
198 0 7 Bra 0
199 3 2 \x{80}
200 7 7 Ket
201 10 End
202 ------------------------------------------------------------------
203 Capturing subpattern count = 0
204 Options: utf8
205 First char = 194
206 Need char = 128
207
208 /\x{084}/D8
209 ------------------------------------------------------------------
210 0 7 Bra 0
211 3 2 \x{84}
212 7 7 Ket
213 10 End
214 ------------------------------------------------------------------
215 Capturing subpattern count = 0
216 Options: utf8
217 First char = 194
218 Need char = 132
219
220 /\x{104}/D8
221 ------------------------------------------------------------------
222 0 7 Bra 0
223 3 2 \x{104}
224 7 7 Ket
225 10 End
226 ------------------------------------------------------------------
227 Capturing subpattern count = 0
228 Options: utf8
229 First char = 196
230 Need char = 132
231
232 /\x{861}/D8
233 ------------------------------------------------------------------
234 0 8 Bra 0
235 3 3 \x{861}
236 8 8 Ket
237 11 End
238 ------------------------------------------------------------------
239 Capturing subpattern count = 0
240 Options: utf8
241 First char = 224
242 Need char = 161
243
244 /\x{212ab}/D8
245 ------------------------------------------------------------------
246 0 9 Bra 0
247 3 4 \x{212ab}
248 9 9 Ket
249 12 End
250 ------------------------------------------------------------------
251 Capturing subpattern count = 0
252 Options: utf8
253 First char = 240
254 Need char = 171
255
256 /.{3,5}X/D8
257 ------------------------------------------------------------------
258 0 14 Bra 0
259 3 Any{3}
260 7 Any{0,2}
261 11 1 X
262 14 14 Ket
263 17 End
264 ------------------------------------------------------------------
265 Capturing subpattern count = 0
266 Options: utf8
267 No first char
268 Need char = 'X'
269 \x{212ab}\x{212ab}\x{212ab}\x{861}X
270 0: \x{212ab}\x{212ab}\x{212ab}\x{861}X
271
272
273 /.{3,5}?/D8
274 ------------------------------------------------------------------
275 0 11 Bra 0
276 3 Any{3}
277 7 Any{0,2}?
278 11 11 Ket
279 14 End
280 ------------------------------------------------------------------
281 Capturing subpattern count = 0
282 Options: utf8
283 No first char
284 No need char
285 \x{212ab}\x{212ab}\x{212ab}\x{861}
286 0: \x{212ab}\x{212ab}\x{212ab}
287
288 /-- These tests are here rather than in testinput4 because Perl 5.6 has --/
289 /-- some problems with UTF-8 support, in the area of \x{..} where the --/
290 No match
291 /-- value is < 255. It grumbles about invalid UTF-8 strings. --/
292 No match
293
294 /^[a\x{c0}]b/8
295 \x{c0}b
296 0: \x{c0}b
297
298 /^([a\x{c0}]*?)aa/8
299 a\x{c0}aaaa/
300 0: a\x{c0}aa
301 1: a\x{c0}
302
303 /^([a\x{c0}]*?)aa/8
304 a\x{c0}aaaa/
305 0: a\x{c0}aa
306 1: a\x{c0}
307 a\x{c0}a\x{c0}aaa/
308 0: a\x{c0}a\x{c0}aa
309 1: a\x{c0}a\x{c0}
310
311 /^([a\x{c0}]*)aa/8
312 a\x{c0}aaaa/
313 0: a\x{c0}aaaa
314 1: a\x{c0}aa
315 a\x{c0}a\x{c0}aaa/
316 0: a\x{c0}a\x{c0}aaa
317 1: a\x{c0}a\x{c0}a
318
319 /^([a\x{c0}]*)a\x{c0}/8
320 a\x{c0}aaaa/
321 0: a\x{c0}
322 1:
323 a\x{c0}a\x{c0}aaa/
324 0: a\x{c0}a\x{c0}
325 1: a\x{c0}
326
327 /-- --/
328
329 /(?<=\C)X/8
330 Failed: \C not allowed in lookbehind assertion at offset 6
331
332 /-- This one is here not because it's different to Perl, but because the --/
333 /-- way the captured single-byte is displayed. (In Perl it becomes a --/
334 No match
335 /-- character, and you can't tell the difference.) --/
336 No match
337
338 /X(\C)(.*)/8
339 X\x{1234}
340 0: X\x{1234}
341 1: \xe1
342 2: \x88\xb4
343 X\nabc
344 0: X\x{0a}abc
345 1: \x{0a}
346 2: abc
347
348 /^[ab]/8D
349 ------------------------------------------------------------------
350 0 37 Bra 0
351 3 ^
352 4 [a-b]
353 37 37 Ket
354 40 End
355 ------------------------------------------------------------------
356 Capturing subpattern count = 0
357 Options: anchored utf8
358 No first char
359 No need char
360 bar
361 0: b
362 *** Failers
363 No match
364 c
365 No match
366 \x{ff}
367 No match
368 \x{100}
369 No match
370
371 /^[^ab]/8D
372 ------------------------------------------------------------------
373 0 37 Bra 0
374 3 ^
375 4 [\x00-`c-\xff] (neg)
376 37 37 Ket
377 40 End
378 ------------------------------------------------------------------
379 Capturing subpattern count = 0
380 Options: anchored utf8
381 No first char
382 No need char
383 c
384 0: c
385 \x{ff}
386 0: \x{ff}
387 \x{100}
388 0: \x{100}
389 *** Failers
390 0: *
391 aaa
392 No match
393
394 /[^ab\xC0-\xF0]/8SD
395 ------------------------------------------------------------------
396 0 36 Bra 0
397 3 [\x00-`c-\xbf\xf1-\xff] (neg)
398 36 36 Ket
399 39 End
400 ------------------------------------------------------------------
401 Capturing subpattern count = 0
402 Options: utf8
403 No first char
404 No need char
405 Study size = 40
406 Starting character set: \x00 \x01 \x02 \x03 \x04 \x05 \x06 \x07 \x08 \x09 \x0a
407 \x0b \x0c \x0d \x0e \x0f \x10 \x11 \x12 \x13 \x14 \x15 \x16 \x17 \x18 \x19
408 \x1a \x1b \x1c \x1d \x1e \x1f \x20 ! " # $ % & ' ( ) * + , - . / 0 1 2 3 4
409 5 6 7 8 9 : ; < = > ? @ A B C D E F G H I J K L M N O P Q R S T U V W X Y
410 Z [ \ ] ^ _ ` c d e f g h i j k l m n o p q r s t u v w x y z { | } ~ \x7f
411 \x80 \x81 \x82 \x83 \x84 \x85 \x86 \x87 \x88 \x89 \x8a \x8b \x8c \x8d \x8e
412 \x8f \x90 \x91 \x92 \x93 \x94 \x95 \x96 \x97 \x98 \x99 \x9a \x9b \x9c \x9d
413 \x9e \x9f \xa0 \xa1 \xa2 \xa3 \xa4 \xa5 \xa6 \xa7 \xa8 \xa9 \xaa \xab \xac
414 \xad \xae \xaf \xb0 \xb1 \xb2 \xb3 \xb4 \xb5 \xb6 \xb7 \xb8 \xb9 \xba \xbb
415 \xbc \xbd \xbe \xbf \xc0 \xc1 \xc2 \xc3 \xc4 \xc5 \xc6 \xc7 \xc8 \xc9 \xca
416 \xcb \xcc \xcd \xce \xcf \xd0 \xd1 \xd2 \xd3 \xd4 \xd5 \xd6 \xd7 \xd8 \xd9
417 \xda \xdb \xdc \xdd \xde \xdf \xe0 \xe1 \xe2 \xe3 \xe4 \xe5 \xe6 \xe7 \xe8
418 \xe9 \xea \xeb \xec \xed \xee \xef \xf0 \xf1 \xf2 \xf3 \xf4 \xf5 \xf6 \xf7
419 \xf8 \xf9 \xfa \xfb \xfc \xfd \xfe \xff
420 \x{f1}
421 0: \x{f1}
422 \x{bf}
423 0: \x{bf}
424 \x{100}
425 0: \x{100}
426 \x{1000}
427 0: \x{1000}
428 *** Failers
429 0: *
430 \x{c0}
431 No match
432 \x{f0}
433 No match
434
435 /Ā{3,4}/8SD
436 ------------------------------------------------------------------
437 0 13 Bra 0
438 3 \x{100}{3}
439 8 \x{100}{,1}
440 13 13 Ket
441 16 End
442 ------------------------------------------------------------------
443 Capturing subpattern count = 0
444 Options: utf8
445 First char = 196
446 Need char = 128
447 Study returned NULL
448 \x{100}\x{100}\x{100}\x{100\x{100}
449 0: \x{100}\x{100}\x{100}
450
451 /(\x{100}+|x)/8SD
452 ------------------------------------------------------------------
453 0 18 Bra 0
454 3 6 Bra 1
455 6 \x{100}+
456 9 6 Alt
457 12 1 x
458 15 12 Ket
459 18 18 Ket
460 21 End
461 ------------------------------------------------------------------
462 Capturing subpattern count = 1
463 Options: utf8
464 No first char
465 No need char
466 Study size = 40
467 Starting character set: x \xc4
468
469 /(\x{100}*a|x)/8SD
470 ------------------------------------------------------------------
471 0 21 Bra 0
472 3 9 Bra 1
473 6 \x{100}*
474 9 1 a
475 12 6 Alt
476 15 1 x
477 18 15 Ket
478 21 21 Ket
479 24 End
480 ------------------------------------------------------------------
481 Capturing subpattern count = 1
482 Options: utf8
483 No first char
484 No need char
485 Study size = 40
486 Starting character set: a x \xc4
487
488 /(\x{100}{0,2}a|x)/8SD
489 ------------------------------------------------------------------
490 0 23 Bra 0
491 3 11 Bra 1
492 6 \x{100}{,2}
493 11 1 a
494 14 6 Alt
495 17 1 x
496 20 17 Ket
497 23 23 Ket
498 26 End
499 ------------------------------------------------------------------
500 Capturing subpattern count = 1
501 Options: utf8
502 No first char
503 No need char
504 Study size = 40
505 Starting character set: a x \xc4
506
507 /(\x{100}{1,2}a|x)/8SD
508 ------------------------------------------------------------------
509 0 27 Bra 0
510 3 15 Bra 1
511 6 2 \x{100}
512 10 \x{100}{,1}
513 15 1 a
514 18 6 Alt
515 21 1 x
516 24 21 Ket
517 27 27 Ket
518 30 End
519 ------------------------------------------------------------------
520 Capturing subpattern count = 1
521 Options: utf8
522 No first char
523 No need char
524 Study size = 40
525 Starting character set: x \xc4
526
527 /\x{100}*(\d+|"(?1)")/8
528 1234
529 0: 1234
530 1: 1234
531 "1234"
532 0: "1234"
533 1: "1234"
534 \x{100}1234
535 0: \x{100}1234
536 1: 1234
537 "\x{100}1234"
538 0: \x{100}1234
539 1: 1234
540 \x{100}\x{100}12ab
541 0: \x{100}\x{100}12
542 1: 12
543 \x{100}\x{100}"12"
544 0: \x{100}\x{100}"12"
545 1: "12"
546 *** Failers
547 No match
548 \x{100}\x{100}abcd
549 No match
550
551 /\x{100}/8D
552 ------------------------------------------------------------------
553 0 7 Bra 0
554 3 2 \x{100}
555 7 7 Ket
556 10 End
557 ------------------------------------------------------------------
558 Capturing subpattern count = 0
559 Options: utf8
560 First char = 196
561 Need char = 128
562
563 /\x{100}*/8D
564 ------------------------------------------------------------------
565 0 6 Bra 0
566 3 \x{100}*
567 6 6 Ket
568 9 End
569 ------------------------------------------------------------------
570 Capturing subpattern count = 0
571 Options: utf8
572 No first char
573 No need char
574
575 /a\x{100}*/8D
576 ------------------------------------------------------------------
577 0 9 Bra 0
578 3 1 a
579 6 \x{100}*
580 9 9 Ket
581 12 End
582 ------------------------------------------------------------------
583 Capturing subpattern count = 0
584 Options: utf8
585 First char = 'a'
586 No need char
587
588 /ab\x{100}*/8D
589 ------------------------------------------------------------------
590 0 10 Bra 0
591 3 2 ab
592 7 \x{100}*
593 10 10 Ket
594 13 End
595 ------------------------------------------------------------------
596 Capturing subpattern count = 0
597 Options: utf8
598 First char = 'a'
599 Need char = 'b'
600
601 /a\x{100}\x{101}*/8D
602 ------------------------------------------------------------------
603 0 11 Bra 0
604 3 3 a\x{100}
605 8 \x{101}*
606 11 11 Ket
607 14 End
608 ------------------------------------------------------------------
609 Capturing subpattern count = 0
610 Options: utf8
611 First char = 'a'
612 Need char = 128
613
614 /a\x{100}\x{101}+/8D
615 ------------------------------------------------------------------
616 0 11 Bra 0
617 3 3 a\x{100}
618 8 \x{101}+
619 11 11 Ket
620 14 End
621 ------------------------------------------------------------------
622 Capturing subpattern count = 0
623 Options: utf8
624 First char = 'a'
625 Need char = 129
626
627 /\x{100}*A/8D
628 ------------------------------------------------------------------
629 0 9 Bra 0
630 3 \x{100}*
631 6 1 A
632 9 9 Ket
633 12 End
634 ------------------------------------------------------------------
635 Capturing subpattern count = 0
636 Options: utf8
637 No first char
638 Need char = 'A'
639 A
640 0: A
641
642 /\x{100}*\d(?R)/8D
643 ------------------------------------------------------------------
644 0 10 Bra 0
645 3 \x{100}*
646 6 \d
647 7 0 Recurse
648 10 10 Ket
649 13 End
650 ------------------------------------------------------------------
651 Capturing subpattern count = 0
652 Options: utf8
653 No first char
654 No need char
655
656 /[^\x{c4}]/D
657 ------------------------------------------------------------------
658 0 36 Bra 0
659 3 [\x01-35-bd-z|~-\xff] (neg)
660 36 36 Ket
661 39 End
662 ------------------------------------------------------------------
663 Capturing subpattern count = 0
664 No options
665 No first char
666 No need char
667
668 /[^\x{c4}]/8D
669 ------------------------------------------------------------------
670 0 36 Bra 0
671 3 [\x00-\xc3\xc5-\xff] (neg)
672 36 36 Ket
673 39 End
674 ------------------------------------------------------------------
675 Capturing subpattern count = 0
676 Options: utf8
677 No first char
678 No need char
679
680 /[\x{100}]/8DM
681 Memory allocation (code space): 47
682 ------------------------------------------------------------------
683 0 11 Bra 0
684 3 [\x{100}]
685 11 11 Ket
686 14 End
687 ------------------------------------------------------------------
688 Capturing subpattern count = 0
689 Options: utf8
690 No first char
691 No need char
692 \x{100}
693 0: \x{100}
694 Z\x{100}
695 0: \x{100}
696 \x{100}Z
697 0: \x{100}
698 *** Failers
699 No match
700
701 /[Z\x{100}]/8DM
702 Memory allocation (code space): 47
703 ------------------------------------------------------------------
704 0 43 Bra 0
705 3 [Z\x{100}]
706 43 43 Ket
707 46 End
708 ------------------------------------------------------------------
709 Capturing subpattern count = 0
710 Options: utf8
711 No first char
712 No need char
713 Z\x{100}
714 0: Z
715 \x{100}
716 0: \x{100}
717 \x{100}Z
718 0: \x{100}
719 *** Failers
720 No match
721
722 /[\x{200}-\x{100}]/8
723 Failed: range out of order in character class at offset 15
724
725 /[Ā-Ą]/8
726 \x{100}
727 0: \x{100}
728 \x{104}
729 0: \x{104}
730 *** Failers
731 No match
732 \x{105}
733 No match
734 \x{ff}
735 No match
736
737 /[z-\x{100}]/8D
738 ------------------------------------------------------------------
739 0 12 Bra 0
740 3 [z-\x{100}]
741 12 12 Ket
742 15 End
743 ------------------------------------------------------------------
744 Capturing subpattern count = 0
745 Options: utf8
746 No first char
747 No need char
748
749 /[z-\x{100}]/8Di
750 ------------------------------------------------------------------
751 0 45 Bra 0
752 3 [Zz-\xff\x{100}-\x{100}]
753 45 45 Ket
754 48 End
755 ------------------------------------------------------------------
756 Capturing subpattern count = 0
757 Options: caseless utf8
758 No first char
759 No need char
760
761 /[z\Qa-d]Ā\E]/8D
762 ------------------------------------------------------------------
763 0 43 Bra 0
764 3 [\-\]adz\x{100}]
765 43 43 Ket
766 46 End
767 ------------------------------------------------------------------
768 Capturing subpattern count = 0
769 Options: utf8
770 No first char
771 No need char
772 \x{100}
773 0: \x{100}
774 Ā
775 0: \x{100}
776
777 /[\xFF]/D
778 ------------------------------------------------------------------
779 0 6 Bra 0
780 3 1 \xff
781 6 6 Ket
782 9 End
783 ------------------------------------------------------------------
784 Capturing subpattern count = 0
785 No options
786 First char = 255
787 No need char
788 >\xff<
789 0: \xff
790
791 /[\xff]/D8
792 ------------------------------------------------------------------
793 0 36 Bra 0
794 3 [\xff]
795 36 36 Ket
796 39 End
797 ------------------------------------------------------------------
798 Capturing subpattern count = 0
799 Options: utf8
800 No first char
801 No need char
802 >\x{ff}<
803 0: \x{ff}
804
805 /[^\xFF]/D
806 ------------------------------------------------------------------
807 0 5 Bra 0
808 3 [^\xff]
809 5 5 Ket
810 8 End
811 ------------------------------------------------------------------
812 Capturing subpattern count = 0
813 No options
814 No first char
815 No need char
816
817 /[^\xff]/8D
818 ------------------------------------------------------------------
819 0 36 Bra 0
820 3 [\x00-\xfe] (neg)
821 36 36 Ket
822 39 End
823 ------------------------------------------------------------------
824 Capturing subpattern count = 0
825 Options: utf8
826 No first char
827 No need char
828
829 / End of testinput5 /
830

webmaster@exim.org
ViewVC Help
Powered by ViewVC 1.1.12