1 PCRE version 5.0 13-Sep-2004
4 Memory allocation (code space): 10
5 ------------------------------------------------------------------
10 ------------------------------------------------------------------
11 Capturing subpattern count = 0
17 Memory allocation (code space): 11
18 ------------------------------------------------------------------
23 ------------------------------------------------------------------
24 Capturing subpattern count = 0
30 Memory allocation (code space): 12
31 ------------------------------------------------------------------
36 ------------------------------------------------------------------
37 Capturing subpattern count = 0
43 Memory allocation (code space): 12
44 ------------------------------------------------------------------
49 ------------------------------------------------------------------
50 Capturing subpattern count = 0
56 Memory allocation (code space): 13
57 ------------------------------------------------------------------
62 ------------------------------------------------------------------
63 Capturing subpattern count = 0
69 Memory allocation (code space): 14
70 ------------------------------------------------------------------
75 ------------------------------------------------------------------
76 Capturing subpattern count = 0
82 Memory allocation (code space): 14
83 ------------------------------------------------------------------
88 ------------------------------------------------------------------
89 Capturing subpattern count = 0
95 Memory allocation (code space): 10
96 ------------------------------------------------------------------
101 ------------------------------------------------------------------
102 Capturing subpattern count = 0
108 Memory allocation (code space): 47
109 ------------------------------------------------------------------
114 ------------------------------------------------------------------
115 Capturing subpattern count = 0
121 Failed: character value in \x{...} sequence is too large at offset 11
124 Failed: character value in \x{...} sequence is too large at offset 12
131 ------------------------------------------------------------------
136 ------------------------------------------------------------------
137 Capturing subpattern count = 0
143 ------------------------------------------------------------------
148 ------------------------------------------------------------------
149 Capturing subpattern count = 0
154 /\x{0041}\x{2262}\x{0391}\x{002e}/D8
155 ------------------------------------------------------------------
160 ------------------------------------------------------------------
161 Capturing subpattern count = 0
165 \x{0041}\x{2262}\x{0391}\x{002e}
168 /\x{D55c}\x{ad6d}\x{C5B4}/D8
169 ------------------------------------------------------------------
171 3 \x{d55c}\x{ad6d}\x{c5b4}
174 ------------------------------------------------------------------
175 Capturing subpattern count = 0
179 \x{D55c}\x{ad6d}\x{C5B4}
180 0: \x{d55c}\x{ad6d}\x{c5b4}
182 /\x{65e5}\x{672c}\x{8a9e}/D8
183 ------------------------------------------------------------------
185 3 \x{65e5}\x{672c}\x{8a9e}
188 ------------------------------------------------------------------
189 Capturing subpattern count = 0
193 \x{65e5}\x{672c}\x{8a9e}
194 0: \x{65e5}\x{672c}\x{8a9e}
197 ------------------------------------------------------------------
202 ------------------------------------------------------------------
203 Capturing subpattern count = 0
209 ------------------------------------------------------------------
214 ------------------------------------------------------------------
215 Capturing subpattern count = 0
221 ------------------------------------------------------------------
226 ------------------------------------------------------------------
227 Capturing subpattern count = 0
233 ------------------------------------------------------------------
238 ------------------------------------------------------------------
239 Capturing subpattern count = 0
245 ------------------------------------------------------------------
250 ------------------------------------------------------------------
251 Capturing subpattern count = 0
257 ------------------------------------------------------------------
264 ------------------------------------------------------------------
265 Capturing subpattern count = 0
266 Partial matching not supported
270 \x{212ab}\x{212ab}\x{212ab}\x{861}X
271 0: \x{212ab}\x{212ab}\x{212ab}\x{861}X
275 ------------------------------------------------------------------
281 ------------------------------------------------------------------
282 Capturing subpattern count = 0
283 Partial matching not supported
287 \x{212ab}\x{212ab}\x{212ab}\x{861}
288 0: \x{212ab}\x{212ab}\x{212ab}
290 /-- These tests are here rather than in testinput4 because Perl 5.6 has --/
291 /-- some problems with UTF-8 support, in the area of \x{..} where the --/
293 /-- value is < 255. It grumbles about invalid UTF-8 strings. --/
321 /^([a\x{c0}]*)a\x{c0}/8
332 Failed: \C not allowed in lookbehind assertion at offset 6
334 /-- This one is here not because it's different to Perl, but because the --/
335 /-- way the captured single-byte is displayed. (In Perl it becomes a --/
337 /-- character, and you can't tell the difference.) --/
351 ------------------------------------------------------------------
357 ------------------------------------------------------------------
358 Capturing subpattern count = 0
359 Options: anchored utf8
374 ------------------------------------------------------------------
377 4 [\x00-`c-\xff] (neg)
380 ------------------------------------------------------------------
381 Capturing subpattern count = 0
382 Options: anchored utf8
397 ------------------------------------------------------------------
399 3 [\x00-`c-\xbf\xf1-\xff] (neg)
402 ------------------------------------------------------------------
403 Capturing subpattern count = 0
407 Starting byte set: \x00 \x01 \x02 \x03 \x04 \x05 \x06 \x07 \x08 \x09 \x0a
408 \x0b \x0c \x0d \x0e \x0f \x10 \x11 \x12 \x13 \x14 \x15 \x16 \x17 \x18 \x19
409 \x1a \x1b \x1c \x1d \x1e \x1f \x20 ! " # $ % & ' ( ) * + , - . / 0 1 2 3 4
410 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
411 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
412 \xc2 \xc3 \xc4 \xc5 \xc6 \xc7 \xc8 \xc9 \xca \xcb \xcc \xcd \xce \xcf \xd0
413 \xd1 \xd2 \xd3 \xd4 \xd5 \xd6 \xd7 \xd8 \xd9 \xda \xdb \xdc \xdd \xde \xdf
414 \xe0 \xe1 \xe2 \xe3 \xe4 \xe5 \xe6 \xe7 \xe8 \xe9 \xea \xeb \xec \xed \xee
415 \xef \xf0 \xf1 \xf2 \xf3 \xf4 \xf5 \xf6 \xf7 \xf8 \xf9 \xfa \xfb \xfc \xfd
433 ------------------------------------------------------------------
439 ------------------------------------------------------------------
440 Capturing subpattern count = 0
441 Partial matching not supported
446 \x{100}\x{100}\x{100}\x{100\x{100}
447 0: \x{100}\x{100}\x{100}
450 ------------------------------------------------------------------
459 ------------------------------------------------------------------
460 Capturing subpattern count = 1
461 Partial matching not supported
465 Starting byte set: x \xc4
468 ------------------------------------------------------------------
478 ------------------------------------------------------------------
479 Capturing subpattern count = 1
480 Partial matching not supported
484 Starting byte set: a x \xc4
486 /(\x{100}{0,2}a|x)/8SD
487 ------------------------------------------------------------------
497 ------------------------------------------------------------------
498 Capturing subpattern count = 1
499 Partial matching not supported
503 Starting byte set: a x \xc4
505 /(\x{100}{1,2}a|x)/8SD
506 ------------------------------------------------------------------
517 ------------------------------------------------------------------
518 Capturing subpattern count = 1
519 Partial matching not supported
523 Starting byte set: x \xc4
525 /\x{100}*(\d+|"(?1)")/8
542 0: \x{100}\x{100}"12"
550 ------------------------------------------------------------------
555 ------------------------------------------------------------------
556 Capturing subpattern count = 0
562 ------------------------------------------------------------------
567 ------------------------------------------------------------------
568 Capturing subpattern count = 0
569 Partial matching not supported
575 ------------------------------------------------------------------
581 ------------------------------------------------------------------
582 Capturing subpattern count = 0
583 Partial matching not supported
589 ------------------------------------------------------------------
595 ------------------------------------------------------------------
596 Capturing subpattern count = 0
597 Partial matching not supported
603 ------------------------------------------------------------------
609 ------------------------------------------------------------------
610 Capturing subpattern count = 0
611 Partial matching not supported
617 ------------------------------------------------------------------
623 ------------------------------------------------------------------
624 Capturing subpattern count = 0
625 Partial matching not supported
631 ------------------------------------------------------------------
637 ------------------------------------------------------------------
638 Capturing subpattern count = 0
639 Partial matching not supported
647 ------------------------------------------------------------------
654 ------------------------------------------------------------------
655 Capturing subpattern count = 0
656 Partial matching not supported
662 ------------------------------------------------------------------
664 3 [\x01-35-bd-z|~-\xff] (neg)
667 ------------------------------------------------------------------
668 Capturing subpattern count = 0
674 ------------------------------------------------------------------
676 3 [\x00-\xc3\xc5-\xff] (neg)
679 ------------------------------------------------------------------
680 Capturing subpattern count = 0
686 Memory allocation (code space): 47
687 ------------------------------------------------------------------
692 ------------------------------------------------------------------
693 Capturing subpattern count = 0
707 Memory allocation (code space): 47
708 ------------------------------------------------------------------
713 ------------------------------------------------------------------
714 Capturing subpattern count = 0
728 Failed: range out of order in character class at offset 15
743 ------------------------------------------------------------------
748 ------------------------------------------------------------------
749 Capturing subpattern count = 0
755 ------------------------------------------------------------------
760 ------------------------------------------------------------------
761 Capturing subpattern count = 0
771 ------------------------------------------------------------------
776 ------------------------------------------------------------------
777 Capturing subpattern count = 0
785 ------------------------------------------------------------------
790 ------------------------------------------------------------------
791 Capturing subpattern count = 0
799 ------------------------------------------------------------------
804 ------------------------------------------------------------------
805 Capturing subpattern count = 0
811 ------------------------------------------------------------------
816 ------------------------------------------------------------------
817 Capturing subpattern count = 0
823 Ö # Matches without Study
829 Ö <-- Same with Study
835 Ö # Matches without Study
841 Ö <-- Same with Study
847 Failed: invalid UTF-8 string at offset 2
850 Failed: invalid UTF-8 string at offset 0
853 Failed: invalid UTF-8 string at offset 1
856 ------------------------------------------------------------------
858 3 \X{c0}\X{c0}\X{c0}xxx
861 ------------------------------------------------------------------
862 Capturing subpattern count = 0
863 Options: utf8 no_utf8_check
888 \xfc\x83\x80\x80\x80\x80
890 \xfe\x80\x80\x80\x80\x80
892 \xff\x80\x80\x80\x80\x80
908 \xfc\x84\x80\x80\x80\x80
910 \xfd\x83\x80\x80\x80\x80
913 /\x{100}abc(xyz(?1))/8D
914 ------------------------------------------------------------------
923 ------------------------------------------------------------------
924 Capturing subpattern count = 1
929 /[^\x{100}]abc(xyz(?1))/8D
930 ------------------------------------------------------------------
940 ------------------------------------------------------------------
941 Capturing subpattern count = 1
946 /[ab\x{100}]abc(xyz(?1))/8D
947 ------------------------------------------------------------------
957 ------------------------------------------------------------------
958 Capturing subpattern count = 1
963 /(\x{100}(b(?2)c))?/D8
964 ------------------------------------------------------------------
977 ------------------------------------------------------------------
978 Capturing subpattern count = 2
983 /(\x{100}(b(?2)c)){0,2}/D8
984 ------------------------------------------------------------------
1008 ------------------------------------------------------------------
1009 Capturing subpattern count = 2
1014 /(\x{100}(b(?1)c))?/D8
1015 ------------------------------------------------------------------
1028 ------------------------------------------------------------------
1029 Capturing subpattern count = 2
1034 /(\x{100}(b(?1)c)){0,2}/D8
1035 ------------------------------------------------------------------
1059 ------------------------------------------------------------------
1060 Capturing subpattern count = 2
1075 / End of testinput5 /