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

Contents of /code/trunk/testdata/testoutput5

Parent Directory Parent Directory | Revision Log Revision Log


Revision 162 - (show annotations) (download)
Thu May 3 10:47:48 2007 UTC (6 years, 11 months ago) by ph10
File size: 28600 byte(s)
Correct tests for link sizes 3 and 4

1 /\x{100}/8DZ
2 ------------------------------------------------------------------
3 Bra 0
4 \x{100}
5 Ket
6 End
7 ------------------------------------------------------------------
8 Capturing subpattern count = 0
9 Options: utf8
10 First char = 196
11 Need char = 128
12
13 /\x{1000}/8DZ
14 ------------------------------------------------------------------
15 Bra 0
16 \x{1000}
17 Ket
18 End
19 ------------------------------------------------------------------
20 Capturing subpattern count = 0
21 Options: utf8
22 First char = 225
23 Need char = 128
24
25 /\x{10000}/8DZ
26 ------------------------------------------------------------------
27 Bra 0
28 \x{10000}
29 Ket
30 End
31 ------------------------------------------------------------------
32 Capturing subpattern count = 0
33 Options: utf8
34 First char = 240
35 Need char = 128
36
37 /\x{100000}/8DZ
38 ------------------------------------------------------------------
39 Bra 0
40 \x{100000}
41 Ket
42 End
43 ------------------------------------------------------------------
44 Capturing subpattern count = 0
45 Options: utf8
46 First char = 244
47 Need char = 128
48
49 /\x{1000000}/8DZ
50 ------------------------------------------------------------------
51 Bra 0
52 \x{1000000}
53 Ket
54 End
55 ------------------------------------------------------------------
56 Capturing subpattern count = 0
57 Options: utf8
58 First char = 249
59 Need char = 128
60
61 /\x{4000000}/8DZ
62 ------------------------------------------------------------------
63 Bra 0
64 \x{4000000}
65 Ket
66 End
67 ------------------------------------------------------------------
68 Capturing subpattern count = 0
69 Options: utf8
70 First char = 252
71 Need char = 128
72
73 /\x{7fffFFFF}/8DZ
74 ------------------------------------------------------------------
75 Bra 0
76 \x{7fffffff}
77 Ket
78 End
79 ------------------------------------------------------------------
80 Capturing subpattern count = 0
81 Options: utf8
82 First char = 253
83 Need char = 191
84
85 /[\x{ff}]/8DZ
86 ------------------------------------------------------------------
87 Bra 0
88 \x{ff}
89 Ket
90 End
91 ------------------------------------------------------------------
92 Capturing subpattern count = 0
93 Options: utf8
94 First char = 195
95 Need char = 191
96
97 /[\x{100}]/8DZ
98 ------------------------------------------------------------------
99 Bra 0
100 [\x{100}]
101 Ket
102 End
103 ------------------------------------------------------------------
104 Capturing subpattern count = 0
105 Options: utf8
106 No first char
107 No need char
108
109 /\x{ffffffff}/8
110 Failed: character value in \x{...} sequence is too large at offset 11
111
112 /\x{100000000}/8
113 Failed: character value in \x{...} sequence is too large at offset 12
114
115 /^\x{100}a\x{1234}/8
116 \x{100}a\x{1234}bcd
117 0: \x{100}a\x{1234}
118
119 /\x80/8DZ
120 ------------------------------------------------------------------
121 Bra 0
122 \x{80}
123 Ket
124 End
125 ------------------------------------------------------------------
126 Capturing subpattern count = 0
127 Options: utf8
128 First char = 194
129 Need char = 128
130
131 /\xff/8DZ
132 ------------------------------------------------------------------
133 Bra 0
134 \x{ff}
135 Ket
136 End
137 ------------------------------------------------------------------
138 Capturing subpattern count = 0
139 Options: utf8
140 First char = 195
141 Need char = 191
142
143 /\x{0041}\x{2262}\x{0391}\x{002e}/DZ8
144 ------------------------------------------------------------------
145 Bra 0
146 A\x{2262}\x{391}.
147 Ket
148 End
149 ------------------------------------------------------------------
150 Capturing subpattern count = 0
151 Options: utf8
152 First char = 'A'
153 Need char = '.'
154 \x{0041}\x{2262}\x{0391}\x{002e}
155 0: A\x{2262}\x{391}.
156
157 /\x{D55c}\x{ad6d}\x{C5B4}/DZ8
158 ------------------------------------------------------------------
159 Bra 0
160 \x{d55c}\x{ad6d}\x{c5b4}
161 Ket
162 End
163 ------------------------------------------------------------------
164 Capturing subpattern count = 0
165 Options: utf8
166 First char = 237
167 Need char = 180
168 \x{D55c}\x{ad6d}\x{C5B4}
169 0: \x{d55c}\x{ad6d}\x{c5b4}
170
171 /\x{65e5}\x{672c}\x{8a9e}/DZ8
172 ------------------------------------------------------------------
173 Bra 0
174 \x{65e5}\x{672c}\x{8a9e}
175 Ket
176 End
177 ------------------------------------------------------------------
178 Capturing subpattern count = 0
179 Options: utf8
180 First char = 230
181 Need char = 158
182 \x{65e5}\x{672c}\x{8a9e}
183 0: \x{65e5}\x{672c}\x{8a9e}
184
185 /\x{80}/DZ8
186 ------------------------------------------------------------------
187 Bra 0
188 \x{80}
189 Ket
190 End
191 ------------------------------------------------------------------
192 Capturing subpattern count = 0
193 Options: utf8
194 First char = 194
195 Need char = 128
196
197 /\x{084}/DZ8
198 ------------------------------------------------------------------
199 Bra 0
200 \x{84}
201 Ket
202 End
203 ------------------------------------------------------------------
204 Capturing subpattern count = 0
205 Options: utf8
206 First char = 194
207 Need char = 132
208
209 /\x{104}/DZ8
210 ------------------------------------------------------------------
211 Bra 0
212 \x{104}
213 Ket
214 End
215 ------------------------------------------------------------------
216 Capturing subpattern count = 0
217 Options: utf8
218 First char = 196
219 Need char = 132
220
221 /\x{861}/DZ8
222 ------------------------------------------------------------------
223 Bra 0
224 \x{861}
225 Ket
226 End
227 ------------------------------------------------------------------
228 Capturing subpattern count = 0
229 Options: utf8
230 First char = 224
231 Need char = 161
232
233 /\x{212ab}/DZ8
234 ------------------------------------------------------------------
235 Bra 0
236 \x{212ab}
237 Ket
238 End
239 ------------------------------------------------------------------
240 Capturing subpattern count = 0
241 Options: utf8
242 First char = 240
243 Need char = 171
244
245 /.{3,5}X/DZ8
246 ------------------------------------------------------------------
247 Bra 0
248 Any{3}
249 Any{0,2}
250 X
251 Ket
252 End
253 ------------------------------------------------------------------
254 Capturing subpattern count = 0
255 Partial matching not supported
256 Options: utf8
257 No first char
258 Need char = 'X'
259 \x{212ab}\x{212ab}\x{212ab}\x{861}X
260 0: \x{212ab}\x{212ab}\x{212ab}\x{861}X
261
262
263 /.{3,5}?/DZ8
264 ------------------------------------------------------------------
265 Bra 0
266 Any{3}
267 Any{0,2}?
268 Ket
269 End
270 ------------------------------------------------------------------
271 Capturing subpattern count = 0
272 Partial matching not supported
273 Options: utf8
274 No first char
275 No need char
276 \x{212ab}\x{212ab}\x{212ab}\x{861}
277 0: \x{212ab}\x{212ab}\x{212ab}
278
279 /-- These tests are here rather than in testinput4 because Perl 5.6 has some
280 problems with UTF-8 support, in the area of \x{..} where the value is < 255.
281 It grumbles about invalid UTF-8 strings. --/
282
283 /^[a\x{c0}]b/8
284 \x{c0}b
285 0: \x{c0}b
286
287 /^([a\x{c0}]*?)aa/8
288 a\x{c0}aaaa/
289 0: a\x{c0}aa
290 1: a\x{c0}
291
292 /^([a\x{c0}]*?)aa/8
293 a\x{c0}aaaa/
294 0: a\x{c0}aa
295 1: a\x{c0}
296 a\x{c0}a\x{c0}aaa/
297 0: a\x{c0}a\x{c0}aa
298 1: a\x{c0}a\x{c0}
299
300 /^([a\x{c0}]*)aa/8
301 a\x{c0}aaaa/
302 0: a\x{c0}aaaa
303 1: a\x{c0}aa
304 a\x{c0}a\x{c0}aaa/
305 0: a\x{c0}a\x{c0}aaa
306 1: a\x{c0}a\x{c0}a
307
308 /^([a\x{c0}]*)a\x{c0}/8
309 a\x{c0}aaaa/
310 0: a\x{c0}
311 1:
312 a\x{c0}a\x{c0}aaa/
313 0: a\x{c0}a\x{c0}
314 1: a\x{c0}
315
316 /-- --/
317
318 /(?<=\C)X/8
319 Failed: \C not allowed in lookbehind assertion at offset 6
320
321 /-- This one is here not because it's different to Perl, but because the way
322 the captured single-byte is displayed. (In Perl it becomes a character, and you
323 can't tell the difference.) --/
324
325 /X(\C)(.*)/8
326 X\x{1234}
327 0: X\x{1234}
328 1: \xe1
329 2: \x88\xb4
330 X\nabc
331 0: X\x{0a}abc
332 1: \x{0a}
333 2: abc
334
335 /^[ab]/8DZ
336 ------------------------------------------------------------------
337 Bra 0
338 ^
339 [ab]
340 Ket
341 End
342 ------------------------------------------------------------------
343 Capturing subpattern count = 0
344 Options: anchored utf8
345 No first char
346 No need char
347 bar
348 0: b
349 *** Failers
350 No match
351 c
352 No match
353 \x{ff}
354 No match
355 \x{100}
356 No match
357
358 /^[^ab]/8DZ
359 ------------------------------------------------------------------
360 Bra 0
361 ^
362 [\x00-`c-\xff] (neg)
363 Ket
364 End
365 ------------------------------------------------------------------
366 Capturing subpattern count = 0
367 Options: anchored utf8
368 No first char
369 No need char
370 c
371 0: c
372 \x{ff}
373 0: \x{ff}
374 \x{100}
375 0: \x{100}
376 *** Failers
377 0: *
378 aaa
379 No match
380
381 /[^ab\xC0-\xF0]/8SDZ
382 ------------------------------------------------------------------
383 Bra 0
384 [\x00-`c-\xbf\xf1-\xff] (neg)
385 Ket
386 End
387 ------------------------------------------------------------------
388 Capturing subpattern count = 0
389 Options: utf8
390 No first char
391 No need char
392 Starting byte set: \x00 \x01 \x02 \x03 \x04 \x05 \x06 \x07 \x08 \x09 \x0a
393 \x0b \x0c \x0d \x0e \x0f \x10 \x11 \x12 \x13 \x14 \x15 \x16 \x17 \x18 \x19
394 \x1a \x1b \x1c \x1d \x1e \x1f \x20 ! " # $ % & ' ( ) * + , - . / 0 1 2 3 4
395 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
396 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
397 \xc2 \xc3 \xc4 \xc5 \xc6 \xc7 \xc8 \xc9 \xca \xcb \xcc \xcd \xce \xcf \xd0
398 \xd1 \xd2 \xd3 \xd4 \xd5 \xd6 \xd7 \xd8 \xd9 \xda \xdb \xdc \xdd \xde \xdf
399 \xe0 \xe1 \xe2 \xe3 \xe4 \xe5 \xe6 \xe7 \xe8 \xe9 \xea \xeb \xec \xed \xee
400 \xef \xf0 \xf1 \xf2 \xf3 \xf4 \xf5 \xf6 \xf7 \xf8 \xf9 \xfa \xfb \xfc \xfd
401 \xfe \xff
402 \x{f1}
403 0: \x{f1}
404 \x{bf}
405 0: \x{bf}
406 \x{100}
407 0: \x{100}
408 \x{1000}
409 0: \x{1000}
410 *** Failers
411 0: *
412 \x{c0}
413 No match
414 \x{f0}
415 No match
416
417 /Ā{3,4}/8SDZ
418 ------------------------------------------------------------------
419 Bra 0
420 \x{100}{3}
421 \x{100}?
422 Ket
423 End
424 ------------------------------------------------------------------
425 Capturing subpattern count = 0
426 Partial matching not supported
427 Options: utf8
428 First char = 196
429 Need char = 128
430 Study returned NULL
431 \x{100}\x{100}\x{100}\x{100\x{100}
432 0: \x{100}\x{100}\x{100}
433
434 /(\x{100}+|x)/8SDZ
435 ------------------------------------------------------------------
436 Bra 0
437 Bra 1
438 \x{100}+
439 Alt
440 x
441 Ket
442 Ket
443 End
444 ------------------------------------------------------------------
445 Capturing subpattern count = 1
446 Partial matching not supported
447 Options: utf8
448 No first char
449 No need char
450 Starting byte set: x \xc4
451
452 /(\x{100}*a|x)/8SDZ
453 ------------------------------------------------------------------
454 Bra 0
455 Bra 1
456 \x{100}*+
457 a
458 Alt
459 x
460 Ket
461 Ket
462 End
463 ------------------------------------------------------------------
464 Capturing subpattern count = 1
465 Partial matching not supported
466 Options: utf8
467 No first char
468 No need char
469 Starting byte set: a x \xc4
470
471 /(\x{100}{0,2}a|x)/8SDZ
472 ------------------------------------------------------------------
473 Bra 0
474 Bra 1
475 \x{100}{0,2}
476 a
477 Alt
478 x
479 Ket
480 Ket
481 End
482 ------------------------------------------------------------------
483 Capturing subpattern count = 1
484 Partial matching not supported
485 Options: utf8
486 No first char
487 No need char
488 Starting byte set: a x \xc4
489
490 /(\x{100}{1,2}a|x)/8SDZ
491 ------------------------------------------------------------------
492 Bra 0
493 Bra 1
494 \x{100}
495 \x{100}{0,1}
496 a
497 Alt
498 x
499 Ket
500 Ket
501 End
502 ------------------------------------------------------------------
503 Capturing subpattern count = 1
504 Partial matching not supported
505 Options: utf8
506 No first char
507 No need char
508 Starting byte set: x \xc4
509
510 /\x{100}*(\d+|"(?1)")/8
511 1234
512 0: 1234
513 1: 1234
514 "1234"
515 0: "1234"
516 1: "1234"
517 \x{100}1234
518 0: \x{100}1234
519 1: 1234
520 "\x{100}1234"
521 0: \x{100}1234
522 1: 1234
523 \x{100}\x{100}12ab
524 0: \x{100}\x{100}12
525 1: 12
526 \x{100}\x{100}"12"
527 0: \x{100}\x{100}"12"
528 1: "12"
529 *** Failers
530 No match
531 \x{100}\x{100}abcd
532 No match
533
534 /\x{100}/8DZ
535 ------------------------------------------------------------------
536 Bra 0
537 \x{100}
538 Ket
539 End
540 ------------------------------------------------------------------
541 Capturing subpattern count = 0
542 Options: utf8
543 First char = 196
544 Need char = 128
545
546 /\x{100}*/8DZ
547 ------------------------------------------------------------------
548 Bra 0
549 \x{100}*
550 Ket
551 End
552 ------------------------------------------------------------------
553 Capturing subpattern count = 0
554 Partial matching not supported
555 Options: utf8
556 No first char
557 No need char
558
559 /a\x{100}*/8DZ
560 ------------------------------------------------------------------
561 Bra 0
562 a
563 \x{100}*
564 Ket
565 End
566 ------------------------------------------------------------------
567 Capturing subpattern count = 0
568 Partial matching not supported
569 Options: utf8
570 First char = 'a'
571 No need char
572
573 /ab\x{100}*/8DZ
574 ------------------------------------------------------------------
575 Bra 0
576 ab
577 \x{100}*
578 Ket
579 End
580 ------------------------------------------------------------------
581 Capturing subpattern count = 0
582 Partial matching not supported
583 Options: utf8
584 First char = 'a'
585 Need char = 'b'
586
587 /a\x{100}\x{101}*/8DZ
588 ------------------------------------------------------------------
589 Bra 0
590 a\x{100}
591 \x{101}*
592 Ket
593 End
594 ------------------------------------------------------------------
595 Capturing subpattern count = 0
596 Partial matching not supported
597 Options: utf8
598 First char = 'a'
599 Need char = 128
600
601 /a\x{100}\x{101}+/8DZ
602 ------------------------------------------------------------------
603 Bra 0
604 a\x{100}
605 \x{101}+
606 Ket
607 End
608 ------------------------------------------------------------------
609 Capturing subpattern count = 0
610 Partial matching not supported
611 Options: utf8
612 First char = 'a'
613 Need char = 129
614
615 /\x{100}*A/8DZ
616 ------------------------------------------------------------------
617 Bra 0
618 \x{100}*+
619 A
620 Ket
621 End
622 ------------------------------------------------------------------
623 Capturing subpattern count = 0
624 Partial matching not supported
625 Options: utf8
626 No first char
627 Need char = 'A'
628 A
629 0: A
630
631 /\x{100}*\d(?R)/8DZ
632 ------------------------------------------------------------------
633 Bra 0
634 \x{100}*+
635 \d
636 Once
637 Recurse
638 Ket
639 Ket
640 End
641 ------------------------------------------------------------------
642 Capturing subpattern count = 0
643 Partial matching not supported
644 Options: utf8
645 No first char
646 No need char
647
648 /[^\x{c4}]/DZ
649 ------------------------------------------------------------------
650 Bra 0
651 [^\xc4]
652 Ket
653 End
654 ------------------------------------------------------------------
655 Capturing subpattern count = 0
656 No options
657 No first char
658 No need char
659
660 /[^\x{c4}]/8DZ
661 ------------------------------------------------------------------
662 Bra 0
663 [\x00-\xc3\xc5-\xff] (neg)
664 Ket
665 End
666 ------------------------------------------------------------------
667 Capturing subpattern count = 0
668 Options: utf8
669 No first char
670 No need char
671
672 /[\x{100}]/8DZ
673 ------------------------------------------------------------------
674 Bra 0
675 [\x{100}]
676 Ket
677 End
678 ------------------------------------------------------------------
679 Capturing subpattern count = 0
680 Options: utf8
681 No first char
682 No need char
683 \x{100}
684 0: \x{100}
685 Z\x{100}
686 0: \x{100}
687 \x{100}Z
688 0: \x{100}
689 *** Failers
690 No match
691
692 /[Z\x{100}]/8DZ
693 ------------------------------------------------------------------
694 Bra 0
695 [Z\x{100}]
696 Ket
697 End
698 ------------------------------------------------------------------
699 Capturing subpattern count = 0
700 Options: utf8
701 No first char
702 No need char
703 Z\x{100}
704 0: Z
705 \x{100}
706 0: \x{100}
707 \x{100}Z
708 0: \x{100}
709 *** Failers
710 No match
711
712 /[\x{200}-\x{100}]/8
713 Failed: range out of order in character class at offset 15
714
715 /[Ā-Ą]/8
716 \x{100}
717 0: \x{100}
718 \x{104}
719 0: \x{104}
720 *** Failers
721 No match
722 \x{105}
723 No match
724 \x{ff}
725 No match
726
727 /[z-\x{100}]/8DZ
728 ------------------------------------------------------------------
729 Bra 0
730 [z-\x{100}]
731 Ket
732 End
733 ------------------------------------------------------------------
734 Capturing subpattern count = 0
735 Options: utf8
736 No first char
737 No need char
738
739 /[z\Qa-d]Ā\E]/8DZ
740 ------------------------------------------------------------------
741 Bra 0
742 [\-\]adz\x{100}]
743 Ket
744 End
745 ------------------------------------------------------------------
746 Capturing subpattern count = 0
747 Options: utf8
748 No first char
749 No need char
750 \x{100}
751 0: \x{100}
752 Ā
753 0: \x{100}
754
755 /[\xFF]/DZ
756 ------------------------------------------------------------------
757 Bra 0
758 \xff
759 Ket
760 End
761 ------------------------------------------------------------------
762 Capturing subpattern count = 0
763 No options
764 First char = 255
765 No need char
766 >\xff<
767 0: \xff
768
769 /[\xff]/DZ8
770 ------------------------------------------------------------------
771 Bra 0
772 \x{ff}
773 Ket
774 End
775 ------------------------------------------------------------------
776 Capturing subpattern count = 0
777 Options: utf8
778 First char = 195
779 Need char = 191
780 >\x{ff}<
781 0: \x{ff}
782
783 /[^\xFF]/DZ
784 ------------------------------------------------------------------
785 Bra 0
786 [^\xff]
787 Ket
788 End
789 ------------------------------------------------------------------
790 Capturing subpattern count = 0
791 No options
792 No first char
793 No need char
794
795 /[^\xff]/8DZ
796 ------------------------------------------------------------------
797 Bra 0
798 [\x00-\xfe] (neg)
799 Ket
800 End
801 ------------------------------------------------------------------
802 Capturing subpattern count = 0
803 Options: utf8
804 No first char
805 No need char
806
807 /[Ä-Ü]/8
808 Ö # Matches without Study
809 0: \x{d6}
810 \x{d6}
811 0: \x{d6}
812
813 /[Ä-Ü]/8S
814 Ö <-- Same with Study
815 0: \x{d6}
816 \x{d6}
817 0: \x{d6}
818
819 /[\x{c4}-\x{dc}]/8
820 Ö # Matches without Study
821 0: \x{d6}
822 \x{d6}
823 0: \x{d6}
824
825 /[\x{c4}-\x{dc}]/8S
826 Ö <-- Same with Study
827 0: \x{d6}
828 \x{d6}
829 0: \x{d6}
830
831 /[]/8
832 Failed: invalid UTF-8 string at offset 2
833
834 //8
835 Failed: invalid UTF-8 string at offset 0
836
837 /xxx/8
838 Failed: invalid UTF-8 string at offset 1
839
840 /xxx/8?DZ
841 ------------------------------------------------------------------
842 Bra 0
843 \X{c0}\X{c0}\X{c0}xxx
844 Ket
845 End
846 ------------------------------------------------------------------
847 Capturing subpattern count = 0
848 Options: utf8 no_utf8_check
849 First char = 195
850 Need char = 'x'
851
852 /abc/8
853 ]
854 Error -10
855
856 Error -10
857
858 Error -10
859 \?
860 No match
861
862 /anything/8
863 \xc0\x80
864 Error -10
865 \xc1\x8f
866 Error -10
867 \xe0\x9f\x80
868 Error -10
869 \xf0\x8f\x80\x80
870 Error -10
871 \xf8\x87\x80\x80\x80
872 Error -10
873 \xfc\x83\x80\x80\x80\x80
874 Error -10
875 \xfe\x80\x80\x80\x80\x80
876 Error -10
877 \xff\x80\x80\x80\x80\x80
878 Error -10
879 \xc3\x8f
880 No match
881 \xe0\xaf\x80
882 No match
883 \xe1\x80\x80
884 No match
885 \xf0\x9f\x80\x80
886 No match
887 \xf1\x8f\x80\x80
888 No match
889 \xf8\x88\x80\x80\x80
890 No match
891 \xf9\x87\x80\x80\x80
892 No match
893 \xfc\x84\x80\x80\x80\x80
894 No match
895 \xfd\x83\x80\x80\x80\x80
896 No match
897
898 /\x{100}abc(xyz(?1))/8DZ
899 ------------------------------------------------------------------
900 Bra 0
901 \x{100}abc
902 Bra 1
903 xyz
904 Once
905 Recurse
906 Ket
907 Ket
908 Ket
909 End
910 ------------------------------------------------------------------
911 Capturing subpattern count = 1
912 Options: utf8
913 First char = 196
914 Need char = 'z'
915
916 /[^\x{100}]abc(xyz(?1))/8DZ
917 ------------------------------------------------------------------
918 Bra 0
919 [^\x{100}]
920 abc
921 Bra 1
922 xyz
923 Once
924 Recurse
925 Ket
926 Ket
927 Ket
928 End
929 ------------------------------------------------------------------
930 Capturing subpattern count = 1
931 Options: utf8
932 No first char
933 Need char = 'z'
934
935 /[ab\x{100}]abc(xyz(?1))/8DZ
936 ------------------------------------------------------------------
937 Bra 0
938 [ab\x{100}]
939 abc
940 Bra 1
941 xyz
942 Once
943 Recurse
944 Ket
945 Ket
946 Ket
947 End
948 ------------------------------------------------------------------
949 Capturing subpattern count = 1
950 Options: utf8
951 No first char
952 Need char = 'z'
953
954 /(\x{100}(b(?2)c))?/DZ8
955 ------------------------------------------------------------------
956 Bra 0
957 Brazero
958 Bra 1
959 \x{100}
960 Bra 2
961 b
962 Once
963 Recurse
964 Ket
965 c
966 Ket
967 Ket
968 Ket
969 End
970 ------------------------------------------------------------------
971 Capturing subpattern count = 2
972 Options: utf8
973 No first char
974 No need char
975
976 /(\x{100}(b(?2)c)){0,2}/DZ8
977 ------------------------------------------------------------------
978 Bra 0
979 Brazero
980 Bra 0
981 Bra 1
982 \x{100}
983 Bra 2
984 b
985 Once
986 Recurse
987 Ket
988 c
989 Ket
990 Ket
991 Brazero
992 Bra 1
993 \x{100}
994 Bra 2
995 b
996 Once
997 Recurse
998 Ket
999 c
1000 Ket
1001 Ket
1002 Ket
1003 Ket
1004 End
1005 ------------------------------------------------------------------
1006 Capturing subpattern count = 2
1007 Options: utf8
1008 No first char
1009 No need char
1010
1011 /(\x{100}(b(?1)c))?/DZ8
1012 ------------------------------------------------------------------
1013 Bra 0
1014 Brazero
1015 Bra 1
1016 \x{100}
1017 Bra 2
1018 b
1019 Once
1020 Recurse
1021 Ket
1022 c
1023 Ket
1024 Ket
1025 Ket
1026 End
1027 ------------------------------------------------------------------
1028 Capturing subpattern count = 2
1029 Options: utf8
1030 No first char
1031 No need char
1032
1033 /(\x{100}(b(?1)c)){0,2}/DZ8
1034 ------------------------------------------------------------------
1035 Bra 0
1036 Brazero
1037 Bra 0
1038 Bra 1
1039 \x{100}
1040 Bra 2
1041 b
1042 Once
1043 Recurse
1044 Ket
1045 c
1046 Ket
1047 Ket
1048 Brazero
1049 Bra 1
1050 \x{100}
1051 Bra 2
1052 b
1053 Once
1054 Recurse
1055 Ket
1056 c
1057 Ket
1058 Ket
1059 Ket
1060 Ket
1061 End
1062 ------------------------------------------------------------------
1063 Capturing subpattern count = 2
1064 Options: utf8
1065 No first char
1066 No need char
1067
1068 /\W/8
1069 A.B
1070 0: .
1071 A\x{100}B
1072 0: \x{100}
1073
1074 /\w/8
1075 \x{100}X
1076 0: X
1077
1078 /a\x{1234}b/P8
1079 a\x{1234}b
1080 0: a\x{1234}b
1081
1082 /^\ሴ/8DZ
1083 ------------------------------------------------------------------
1084 Bra 0
1085 ^
1086 \x{1234}
1087 Ket
1088 End
1089 ------------------------------------------------------------------
1090 Capturing subpattern count = 0
1091 Options: anchored utf8
1092 No first char
1093 No need char
1094
1095 /\777/I
1096 Failed: octal value is greater than \377 (not in UTF-8 mode) at offset 3
1097
1098 /\777/8I
1099 Capturing subpattern count = 0
1100 Options: utf8
1101 First char = 199
1102 Need char = 191
1103 \x{1ff}
1104 0: \x{1ff}
1105 \777
1106 0: \x{1ff}
1107
1108 /\x{100}*\d/8DZ
1109 ------------------------------------------------------------------
1110 Bra 0
1111 \x{100}*+
1112 \d
1113 Ket
1114 End
1115 ------------------------------------------------------------------
1116 Capturing subpattern count = 0
1117 Partial matching not supported
1118 Options: utf8
1119 No first char
1120 No need char
1121
1122 /\x{100}*\s/8DZ
1123 ------------------------------------------------------------------
1124 Bra 0
1125 \x{100}*+
1126 \s
1127 Ket
1128 End
1129 ------------------------------------------------------------------
1130 Capturing subpattern count = 0
1131 Partial matching not supported
1132 Options: utf8
1133 No first char
1134 No need char
1135
1136 /\x{100}*\w/8DZ
1137 ------------------------------------------------------------------
1138 Bra 0
1139 \x{100}*+
1140 \w
1141 Ket
1142 End
1143 ------------------------------------------------------------------
1144 Capturing subpattern count = 0
1145 Partial matching not supported
1146 Options: utf8
1147 No first char
1148 No need char
1149
1150 /\x{100}*\D/8DZ
1151 ------------------------------------------------------------------
1152 Bra 0
1153 \x{100}*
1154 \D
1155 Ket
1156 End
1157 ------------------------------------------------------------------
1158 Capturing subpattern count = 0
1159 Partial matching not supported
1160 Options: utf8
1161 No first char
1162 No need char
1163
1164 /\x{100}*\S/8DZ
1165 ------------------------------------------------------------------
1166 Bra 0
1167 \x{100}*
1168 \S
1169 Ket
1170 End
1171 ------------------------------------------------------------------
1172 Capturing subpattern count = 0
1173 Partial matching not supported
1174 Options: utf8
1175 No first char
1176 No need char
1177
1178 /\x{100}*\W/8DZ
1179 ------------------------------------------------------------------
1180 Bra 0
1181 \x{100}*
1182 \W
1183 Ket
1184 End
1185 ------------------------------------------------------------------
1186 Capturing subpattern count = 0
1187 Partial matching not supported
1188 Options: utf8
1189 No first char
1190 No need char
1191
1192 /\x{100}+\x{200}/8DZ
1193 ------------------------------------------------------------------
1194 Bra 0
1195 \x{100}++
1196 \x{200}
1197 Ket
1198 End
1199 ------------------------------------------------------------------
1200 Capturing subpattern count = 0
1201 Partial matching not supported
1202 Options: utf8
1203 First char = 196
1204 Need char = 128
1205
1206 /\x{100}+X/8DZ
1207 ------------------------------------------------------------------
1208 Bra 0
1209 \x{100}++
1210 X
1211 Ket
1212 End
1213 ------------------------------------------------------------------
1214 Capturing subpattern count = 0
1215 Partial matching not supported
1216 Options: utf8
1217 First char = 196
1218 Need char = 'X'
1219
1220 /X+\x{200}/8DZ
1221 ------------------------------------------------------------------
1222 Bra 0
1223 X++
1224 \x{200}
1225 Ket
1226 End
1227 ------------------------------------------------------------------
1228 Capturing subpattern count = 0
1229 Partial matching not supported
1230 Options: utf8
1231 First char = 'X'
1232 Need char = 128
1233
1234 /()()()()()()()()()()
1235 ()()()()()()()()()()
1236 ()()()()()()()()()()
1237 ()()()()()()()()()()
1238 A (x) (?41) B/8x
1239 AxxB
1240 Matched, but too many substrings
1241 0: AxxB
1242 1:
1243 2:
1244 3:
1245 4:
1246 5:
1247 6:
1248 7:
1249 8:
1250 9:
1251 10:
1252 11:
1253 12:
1254 13:
1255 14:
1256
1257 /^[\x{100}\E-\Q\E\x{150}]/BZ8
1258 ------------------------------------------------------------------
1259 Bra 0
1260 ^
1261 [\x{100}-\x{150}]
1262 Ket
1263 End
1264 ------------------------------------------------------------------
1265
1266 /^[\QĀ\E-\QŐ\E]/BZ8
1267 ------------------------------------------------------------------
1268 Bra 0
1269 ^
1270 [\x{100}-\x{150}]
1271 Ket
1272 End
1273 ------------------------------------------------------------------
1274
1275 /^[\QĀ\E-\QŐ\E/BZ8
1276 Failed: missing terminating ] for character class at offset 15
1277
1278 /^abc./mgx8<any>
1279 abc1 \x0aabc2 \x0babc3xx \x0cabc4 \x0dabc5xx \x0d\x0aabc6 \x{0085}abc7 \x{2028}abc8 \x{2029}abc9 JUNK
1280 0: abc1
1281 0: abc2
1282 0: abc3
1283 0: abc4
1284 0: abc5
1285 0: abc6
1286 0: abc7
1287 0: abc8
1288 0: abc9
1289
1290 /abc.$/mgx8<any>
1291 abc1\x0a abc2\x0b abc3\x0c abc4\x0d abc5\x0d\x0a abc6\x{0085} abc7\x{2028} abc8\x{2029} abc9
1292 0: abc1
1293 0: abc2
1294 0: abc3
1295 0: abc4
1296 0: abc5
1297 0: abc6
1298 0: abc7
1299 0: abc8
1300 0: abc9
1301
1302 /^a\Rb/8
1303 a\nb
1304 0: a\x{0a}b
1305 a\rb
1306 0: a\x{0d}b
1307 a\r\nb
1308 0: a\x{0d}\x{0a}b
1309 a\x0bb
1310 0: a\x{0b}b
1311 a\x0cb
1312 0: a\x{0c}b
1313 a\x{85}b
1314 0: a\x{85}b
1315 a\x{2028}b
1316 0: a\x{2028}b
1317 a\x{2029}b
1318 0: a\x{2029}b
1319 ** Failers
1320 No match
1321 a\n\rb
1322 No match
1323
1324 /^a\R*b/8
1325 ab
1326 0: ab
1327 a\nb
1328 0: a\x{0a}b
1329 a\rb
1330 0: a\x{0d}b
1331 a\r\nb
1332 0: a\x{0d}\x{0a}b
1333 a\x0bb
1334 0: a\x{0b}b
1335 a\x0c\x{2028}\x{2029}b
1336 0: a\x{0c}\x{2028}\x{2029}b
1337 a\x{85}b
1338 0: a\x{85}b
1339 a\n\rb
1340 0: a\x{0a}\x{0d}b
1341 a\n\r\x{85}\x0cb
1342 0: a\x{0a}\x{0d}\x{85}\x{0c}b
1343
1344 /^a\R+b/8
1345 a\nb
1346 0: a\x{0a}b
1347 a\rb
1348 0: a\x{0d}b
1349 a\r\nb
1350 0: a\x{0d}\x{0a}b
1351 a\x0bb
1352 0: a\x{0b}b
1353 a\x0c\x{2028}\x{2029}b
1354 0: a\x{0c}\x{2028}\x{2029}b
1355 a\x{85}b
1356 0: a\x{85}b
1357 a\n\rb
1358 0: a\x{0a}\x{0d}b
1359 a\n\r\x{85}\x0cb
1360 0: a\x{0a}\x{0d}\x{85}\x{0c}b
1361 ** Failers
1362 No match
1363 ab
1364 No match
1365
1366 /^a\R{1,3}b/8
1367 a\nb
1368 0: a\x{0a}b
1369 a\n\rb
1370 0: a\x{0a}\x{0d}b
1371 a\n\r\x{85}b
1372 0: a\x{0a}\x{0d}\x{85}b
1373 a\r\n\r\nb
1374 0: a\x{0d}\x{0a}\x{0d}\x{0a}b
1375 a\r\n\r\n\r\nb
1376 0: a\x{0d}\x{0a}\x{0d}\x{0a}\x{0d}\x{0a}b
1377 a\n\r\n\rb
1378 0: a\x{0a}\x{0d}\x{0a}\x{0d}b
1379 a\n\n\r\nb
1380 0: a\x{0a}\x{0a}\x{0d}\x{0a}b
1381 ** Failers
1382 No match
1383 a\n\n\n\rb
1384 No match
1385 a\r
1386 No match
1387
1388 / End of testinput5 /

Properties

Name Value
svn:keywords "Author Date Id Revision Url"

webmaster@exim.org
ViewVC Help
Powered by ViewVC 1.1.12