/[pcre]/code/trunk/testdata/testoutput18-32
ViewVC logotype

Contents of /code/trunk/testdata/testoutput18-32

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1219 - (show annotations)
Sun Nov 11 18:04:37 2012 UTC (6 years, 9 months ago) by ph10
File size: 22545 byte(s)
Support (*UTF) in all libraries.
1 /-- This set of tests is for UTF-16 and UTF-32 support, and is relevant only to the
2 16- and 32-bit library. --/
3
4 /xxx/8?DZSS
5 **Failed: invalid UTF-8 string cannot be converted to UTF-32
6
7 /abc/8
8 ]
9 **Failed: invalid UTF-8 string cannot be used as input in UTF mode
10
11 /X(\C{3})/8
12 X\x{11234}Y
13 No match
14 X\x{11234}YZ
15 0: X\x{11234}YZ
16 1: \x{11234}YZ
17
18 /X(\C{4})/8
19 X\x{11234}YZ
20 No match
21 X\x{11234}YZW
22 0: X\x{11234}YZW
23 1: \x{11234}YZW
24
25 /X\C*/8
26 XYZabcdce
27 0: XYZabcdce
28
29 /X\C*?/8
30 XYZabcde
31 0: X
32
33 /X\C{3,5}/8
34 Xabcdefg
35 0: Xabcde
36 X\x{11234}Y
37 No match
38 X\x{11234}YZ
39 0: X\x{11234}YZ
40 X\x{11234}\x{512}
41 No match
42 X\x{11234}\x{512}YZ
43 0: X\x{11234}\x{512}YZ
44 X\x{11234}\x{512}\x{11234}Z
45 0: X\x{11234}\x{512}\x{11234}Z
46
47 /X\C{3,5}?/8
48 Xabcdefg
49 0: Xabc
50 X\x{11234}Y
51 No match
52 X\x{11234}YZ
53 0: X\x{11234}YZ
54 X\x{11234}\x{512}YZ
55 0: X\x{11234}\x{512}Y
56 *** Failers
57 No match
58 X\x{11234}
59 No match
60
61 /a\Cb/8
62 aXb
63 0: aXb
64 a\nb
65 0: a\x{0a}b
66
67 /a\C\Cb/8
68 a\x{12257}b
69 No match
70 a\x{12257}\x{11234}b
71 0: a\x{12257}\x{11234}b
72 ** Failers
73 No match
74 a\x{100}b
75 No match
76
77 /ab\Cde/8
78 abXde
79 0: abXde
80
81 /-- Check maximum character size --/
82
83 /\x{ffff}/8DZ
84 ------------------------------------------------------------------
85 Bra
86 \x{ffff}
87 Ket
88 End
89 ------------------------------------------------------------------
90 Capturing subpattern count = 0
91 Options: utf
92 First char = \x{ffff}
93 No need char
94
95 /\x{10000}/8DZ
96 ------------------------------------------------------------------
97 Bra
98 \x{10000}
99 Ket
100 End
101 ------------------------------------------------------------------
102 Capturing subpattern count = 0
103 Options: utf
104 First char = \x{10000}
105 No need char
106
107 /\x{100}/8DZ
108 ------------------------------------------------------------------
109 Bra
110 \x{100}
111 Ket
112 End
113 ------------------------------------------------------------------
114 Capturing subpattern count = 0
115 Options: utf
116 First char = \x{100}
117 No need char
118
119 /\x{1000}/8DZ
120 ------------------------------------------------------------------
121 Bra
122 \x{1000}
123 Ket
124 End
125 ------------------------------------------------------------------
126 Capturing subpattern count = 0
127 Options: utf
128 First char = \x{1000}
129 No need char
130
131 /\x{10000}/8DZ
132 ------------------------------------------------------------------
133 Bra
134 \x{10000}
135 Ket
136 End
137 ------------------------------------------------------------------
138 Capturing subpattern count = 0
139 Options: utf
140 First char = \x{10000}
141 No need char
142
143 /\x{100000}/8DZ
144 ------------------------------------------------------------------
145 Bra
146 \x{100000}
147 Ket
148 End
149 ------------------------------------------------------------------
150 Capturing subpattern count = 0
151 Options: utf
152 First char = \x{100000}
153 No need char
154
155 /\x{10ffff}/8DZ
156 ------------------------------------------------------------------
157 Bra
158 \x{10ffff}
159 Ket
160 End
161 ------------------------------------------------------------------
162 Capturing subpattern count = 0
163 Options: utf
164 First char = \x{10ffff}
165 No need char
166
167 /[\x{ff}]/8DZ
168 ------------------------------------------------------------------
169 Bra
170 \x{ff}
171 Ket
172 End
173 ------------------------------------------------------------------
174 Capturing subpattern count = 0
175 Options: utf
176 First char = \x{ff}
177 No need char
178
179 /[\x{100}]/8DZ
180 ------------------------------------------------------------------
181 Bra
182 \x{100}
183 Ket
184 End
185 ------------------------------------------------------------------
186 Capturing subpattern count = 0
187 Options: utf
188 First char = \x{100}
189 No need char
190
191 /\x80/8DZ
192 ------------------------------------------------------------------
193 Bra
194 \x80
195 Ket
196 End
197 ------------------------------------------------------------------
198 Capturing subpattern count = 0
199 Options: utf
200 First char = \x{80}
201 No need char
202
203 /\xff/8DZ
204 ------------------------------------------------------------------
205 Bra
206 \x{ff}
207 Ket
208 End
209 ------------------------------------------------------------------
210 Capturing subpattern count = 0
211 Options: utf
212 First char = \x{ff}
213 No need char
214
215 /\x{D55c}\x{ad6d}\x{C5B4}/DZ8
216 ------------------------------------------------------------------
217 Bra
218 \x{d55c}\x{ad6d}\x{c5b4}
219 Ket
220 End
221 ------------------------------------------------------------------
222 Capturing subpattern count = 0
223 Options: utf
224 First char = \x{d55c}
225 Need char = \x{c5b4}
226 \x{D55c}\x{ad6d}\x{C5B4}
227 0: \x{d55c}\x{ad6d}\x{c5b4}
228
229 /\x{65e5}\x{672c}\x{8a9e}/DZ8
230 ------------------------------------------------------------------
231 Bra
232 \x{65e5}\x{672c}\x{8a9e}
233 Ket
234 End
235 ------------------------------------------------------------------
236 Capturing subpattern count = 0
237 Options: utf
238 First char = \x{65e5}
239 Need char = \x{8a9e}
240 \x{65e5}\x{672c}\x{8a9e}
241 0: \x{65e5}\x{672c}\x{8a9e}
242
243 /\x{80}/DZ8
244 ------------------------------------------------------------------
245 Bra
246 \x80
247 Ket
248 End
249 ------------------------------------------------------------------
250 Capturing subpattern count = 0
251 Options: utf
252 First char = \x{80}
253 No need char
254
255 /\x{084}/DZ8
256 ------------------------------------------------------------------
257 Bra
258 \x{84}
259 Ket
260 End
261 ------------------------------------------------------------------
262 Capturing subpattern count = 0
263 Options: utf
264 First char = \x{84}
265 No need char
266
267 /\x{104}/DZ8
268 ------------------------------------------------------------------
269 Bra
270 \x{104}
271 Ket
272 End
273 ------------------------------------------------------------------
274 Capturing subpattern count = 0
275 Options: utf
276 First char = \x{104}
277 No need char
278
279 /\x{861}/DZ8
280 ------------------------------------------------------------------
281 Bra
282 \x{861}
283 Ket
284 End
285 ------------------------------------------------------------------
286 Capturing subpattern count = 0
287 Options: utf
288 First char = \x{861}
289 No need char
290
291 /\x{212ab}/DZ8
292 ------------------------------------------------------------------
293 Bra
294 \x{212ab}
295 Ket
296 End
297 ------------------------------------------------------------------
298 Capturing subpattern count = 0
299 Options: utf
300 First char = \x{212ab}
301 No need char
302
303 /-- This one is here not because it's different to Perl, but because the way
304 the captured single-byte is displayed. (In Perl it becomes a character, and you
305 can't tell the difference.) --/
306
307 /X(\C)(.*)/8
308 X\x{1234}
309 0: X\x{1234}
310 1: \x{1234}
311 2:
312 X\nabc
313 0: X\x{0a}abc
314 1: \x{0a}
315 2: abc
316
317 /-- This one is here because Perl gives out a grumbly error message (quite
318 correctly, but that messes up comparisons). --/
319
320 /a\Cb/8
321 *** Failers
322 No match
323 a\x{100}b
324 0: a\x{100}b
325
326 /[^ab\xC0-\xF0]/8SDZ
327 ------------------------------------------------------------------
328 Bra
329 [\x00-`c-\xbf\xf1-\xff] (neg)
330 Ket
331 End
332 ------------------------------------------------------------------
333 Capturing subpattern count = 0
334 Options: utf
335 No first char
336 No need char
337 Subject length lower bound = 1
338 Starting byte set: \x00 \x01 \x02 \x03 \x04 \x05 \x06 \x07 \x08 \x09 \x0a
339 \x0b \x0c \x0d \x0e \x0f \x10 \x11 \x12 \x13 \x14 \x15 \x16 \x17 \x18 \x19
340 \x1a \x1b \x1c \x1d \x1e \x1f \x20 ! " # $ % & ' ( ) * + , - . / 0 1 2 3 4
341 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
342 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
343 \x80 \x81 \x82 \x83 \x84 \x85 \x86 \x87 \x88 \x89 \x8a \x8b \x8c \x8d \x8e
344 \x8f \x90 \x91 \x92 \x93 \x94 \x95 \x96 \x97 \x98 \x99 \x9a \x9b \x9c \x9d
345 \x9e \x9f \xa0 \xa1 \xa2 \xa3 \xa4 \xa5 \xa6 \xa7 \xa8 \xa9 \xaa \xab \xac
346 \xad \xae \xaf \xb0 \xb1 \xb2 \xb3 \xb4 \xb5 \xb6 \xb7 \xb8 \xb9 \xba \xbb
347 \xbc \xbd \xbe \xbf \xf1 \xf2 \xf3 \xf4 \xf5 \xf6 \xf7 \xf8 \xf9 \xfa \xfb
348 \xfc \xfd \xfe \xff
349 \x{f1}
350 0: \x{f1}
351 \x{bf}
352 0: \x{bf}
353 \x{100}
354 0: \x{100}
355 \x{1000}
356 0: \x{1000}
357 *** Failers
358 0: *
359 \x{c0}
360 No match
361 \x{f0}
362 No match
363
364 /Ā{3,4}/8SDZ
365 ------------------------------------------------------------------
366 Bra
367 \x{100}{3}
368 \x{100}?
369 Ket
370 End
371 ------------------------------------------------------------------
372 Capturing subpattern count = 0
373 Options: utf
374 First char = \x{100}
375 Need char = \x{100}
376 Subject length lower bound = 3
377 No set of starting bytes
378 \x{100}\x{100}\x{100}\x{100\x{100}
379 0: \x{100}\x{100}\x{100}
380
381 /(\x{100}+|x)/8SDZ
382 ------------------------------------------------------------------
383 Bra
384 CBra 1
385 \x{100}+
386 Alt
387 x
388 Ket
389 Ket
390 End
391 ------------------------------------------------------------------
392 Capturing subpattern count = 1
393 Options: utf
394 No first char
395 No need char
396 Subject length lower bound = 1
397 Starting byte set: x \xff
398
399 /(\x{100}*a|x)/8SDZ
400 ------------------------------------------------------------------
401 Bra
402 CBra 1
403 \x{100}*+
404 a
405 Alt
406 x
407 Ket
408 Ket
409 End
410 ------------------------------------------------------------------
411 Capturing subpattern count = 1
412 Options: utf
413 No first char
414 No need char
415 Subject length lower bound = 1
416 Starting byte set: a x \xff
417
418 /(\x{100}{0,2}a|x)/8SDZ
419 ------------------------------------------------------------------
420 Bra
421 CBra 1
422 \x{100}{0,2}
423 a
424 Alt
425 x
426 Ket
427 Ket
428 End
429 ------------------------------------------------------------------
430 Capturing subpattern count = 1
431 Options: utf
432 No first char
433 No need char
434 Subject length lower bound = 1
435 Starting byte set: a x \xff
436
437 /(\x{100}{1,2}a|x)/8SDZ
438 ------------------------------------------------------------------
439 Bra
440 CBra 1
441 \x{100}
442 \x{100}{0,1}
443 a
444 Alt
445 x
446 Ket
447 Ket
448 End
449 ------------------------------------------------------------------
450 Capturing subpattern count = 1
451 Options: utf
452 No first char
453 No need char
454 Subject length lower bound = 1
455 Starting byte set: x \xff
456
457 /\x{100}/8DZ
458 ------------------------------------------------------------------
459 Bra
460 \x{100}
461 Ket
462 End
463 ------------------------------------------------------------------
464 Capturing subpattern count = 0
465 Options: utf
466 First char = \x{100}
467 No need char
468
469 /a\x{100}\x{101}*/8DZ
470 ------------------------------------------------------------------
471 Bra
472 a\x{100}
473 \x{101}*
474 Ket
475 End
476 ------------------------------------------------------------------
477 Capturing subpattern count = 0
478 Options: utf
479 First char = 'a'
480 Need char = \x{100}
481
482 /a\x{100}\x{101}+/8DZ
483 ------------------------------------------------------------------
484 Bra
485 a\x{100}
486 \x{101}+
487 Ket
488 End
489 ------------------------------------------------------------------
490 Capturing subpattern count = 0
491 Options: utf
492 First char = 'a'
493 Need char = \x{101}
494
495 /[^\x{c4}]/DZ
496 ------------------------------------------------------------------
497 Bra
498 [^\x{c4}]
499 Ket
500 End
501 ------------------------------------------------------------------
502 Capturing subpattern count = 0
503 No options
504 No first char
505 No need char
506
507 /[\x{100}]/8DZ
508 ------------------------------------------------------------------
509 Bra
510 \x{100}
511 Ket
512 End
513 ------------------------------------------------------------------
514 Capturing subpattern count = 0
515 Options: utf
516 First char = \x{100}
517 No need char
518 \x{100}
519 0: \x{100}
520 Z\x{100}
521 0: \x{100}
522 \x{100}Z
523 0: \x{100}
524 *** Failers
525 No match
526
527 /[\xff]/DZ8
528 ------------------------------------------------------------------
529 Bra
530 \x{ff}
531 Ket
532 End
533 ------------------------------------------------------------------
534 Capturing subpattern count = 0
535 Options: utf
536 First char = \x{ff}
537 No need char
538 >\x{ff}<
539 0: \x{ff}
540
541 /[^\xff]/8DZ
542 ------------------------------------------------------------------
543 Bra
544 [^\x{ff}]
545 Ket
546 End
547 ------------------------------------------------------------------
548 Capturing subpattern count = 0
549 Options: utf
550 No first char
551 No need char
552
553 /\x{100}abc(xyz(?1))/8DZ
554 ------------------------------------------------------------------
555 Bra
556 \x{100}abc
557 CBra 1
558 xyz
559 Recurse
560 Ket
561 Ket
562 End
563 ------------------------------------------------------------------
564 Capturing subpattern count = 1
565 Options: utf
566 First char = \x{100}
567 Need char = 'z'
568
569 /\777/8I
570 Capturing subpattern count = 0
571 Options: utf
572 First char = \x{1ff}
573 No need char
574 \x{1ff}
575 0: \x{1ff}
576 \777
577 0: \x{1ff}
578
579 /\x{100}+\x{200}/8DZ
580 ------------------------------------------------------------------
581 Bra
582 \x{100}++
583 \x{200}
584 Ket
585 End
586 ------------------------------------------------------------------
587 Capturing subpattern count = 0
588 Options: utf
589 First char = \x{100}
590 Need char = \x{200}
591
592 /\x{100}+X/8DZ
593 ------------------------------------------------------------------
594 Bra
595 \x{100}++
596 X
597 Ket
598 End
599 ------------------------------------------------------------------
600 Capturing subpattern count = 0
601 Options: utf
602 First char = \x{100}
603 Need char = 'X'
604
605 /^[\QĀ\E-\QŐ\E/BZ8
606 Failed: missing terminating ] for character class at offset 13
607
608 /X/8
609 \x{0}\x{d7ff}\x{e000}\x{10ffff}
610 Error -10 (bad UTF-32 string) offset=3 reason=2
611 \x{d800}
612 Error -10 (bad UTF-32 string) offset=0 reason=1
613 \x{d800}\?
614 No match
615 \x{da00}
616 Error -10 (bad UTF-32 string) offset=0 reason=1
617 \x{da00}\?
618 No match
619 \x{dc00}
620 Error -10 (bad UTF-32 string) offset=0 reason=1
621 \x{dc00}\?
622 No match
623 \x{de00}
624 Error -10 (bad UTF-32 string) offset=0 reason=1
625 \x{de00}\?
626 No match
627 \x{dfff}
628 Error -10 (bad UTF-32 string) offset=0 reason=1
629 \x{dfff}\?
630 No match
631 \x{110000}
632 Error -10 (bad UTF-32 string) offset=0 reason=3
633 \x{d800}\x{1234}
634 Error -10 (bad UTF-32 string) offset=0 reason=1
635 \x{fffe}
636 Error -10 (bad UTF-32 string) offset=0 reason=2
637
638 /(*UTF16)\x{11234}/
639 Failed: (*VERB) not recognized at offset 5
640
641 /(*UTF)\x{11234}/I
642 Capturing subpattern count = 0
643 Options: utf
644 First char = \x{11234}
645 No need char
646 abcd\x{11234}pqr
647 0: \x{11234}
648
649 /(*UTF-32)\x{11234}/
650 Failed: (*VERB) not recognized at offset 5
651
652 /(*CRLF)(*UTF16)(*BSR_UNICODE)a\Rb/I
653 Failed: (*VERB) not recognized at offset 12
654
655 /(*CRLF)(*UTF32)(*BSR_UNICODE)a\Rb/I
656 Capturing subpattern count = 0
657 Options: bsr_unicode utf
658 Forced newline sequence: CRLF
659 First char = 'a'
660 Need char = 'b'
661
662 /\h/SI8
663 Capturing subpattern count = 0
664 Options: utf
665 No first char
666 No need char
667 Subject length lower bound = 1
668 Starting byte set: \x09 \x20 \xa0 \xff
669 ABC\x{09}
670 0: \x{09}
671 ABC\x{20}
672 0:
673 ABC\x{a0}
674 0: \x{a0}
675 ABC\x{1680}
676 0: \x{1680}
677 ABC\x{180e}
678 0: \x{180e}
679 ABC\x{2000}
680 0: \x{2000}
681 ABC\x{202f}
682 0: \x{202f}
683 ABC\x{205f}
684 0: \x{205f}
685 ABC\x{3000}
686 0: \x{3000}
687
688 /\v/SI8
689 Capturing subpattern count = 0
690 Options: utf
691 No first char
692 No need char
693 Subject length lower bound = 1
694 Starting byte set: \x0a \x0b \x0c \x0d \x85 \xff
695 ABC\x{0a}
696 0: \x{0a}
697 ABC\x{0b}
698 0: \x{0b}
699 ABC\x{0c}
700 0: \x{0c}
701 ABC\x{0d}
702 0: \x{0d}
703 ABC\x{85}
704 0: \x{85}
705 ABC\x{2028}
706 0: \x{2028}
707
708 /\h*A/SI8
709 Capturing subpattern count = 0
710 Options: utf
711 No first char
712 Need char = 'A'
713 Subject length lower bound = 1
714 Starting byte set: \x09 \x20 A \xa0 \xff
715 CDBABC
716 0: A
717 \x{2000}ABC
718 0: \x{2000}A
719
720 /\R*A/SI8
721 Capturing subpattern count = 0
722 Options: utf
723 No first char
724 Need char = 'A'
725 Subject length lower bound = 1
726 Starting byte set: \x0a \x0b \x0c \x0d A \x85 \xff
727 CDBABC
728 0: A
729 \x{2028}A
730 0: \x{2028}A
731
732 /\v+A/SI8
733 Capturing subpattern count = 0
734 Options: utf
735 No first char
736 Need char = 'A'
737 Subject length lower bound = 2
738 Starting byte set: \x0a \x0b \x0c \x0d \x85 \xff
739
740 /\s?xxx\s/8SI
741 Capturing subpattern count = 0
742 Options: utf
743 No first char
744 Need char = 'x'
745 Subject length lower bound = 4
746 Starting byte set: \x09 \x0a \x0c \x0d \x20 x
747
748 /\sxxx\s/I8ST1
749 Capturing subpattern count = 0
750 Options: utf
751 No first char
752 Need char = 'x'
753 Subject length lower bound = 5
754 Starting byte set: \x09 \x0a \x0c \x0d \x20 \x85 \xa0
755 AB\x{85}xxx\x{a0}XYZ
756 0: \x{85}xxx\x{a0}
757 AB\x{a0}xxx\x{85}XYZ
758 0: \x{a0}xxx\x{85}
759
760 /\S \S/I8ST1
761 Capturing subpattern count = 0
762 Options: utf
763 No first char
764 Need char = ' '
765 Subject length lower bound = 3
766 Starting byte set: \x00 \x01 \x02 \x03 \x04 \x05 \x06 \x07 \x08 \x0b \x0e
767 \x0f \x10 \x11 \x12 \x13 \x14 \x15 \x16 \x17 \x18 \x19 \x1a \x1b \x1c \x1d
768 \x1e \x1f ! " # $ % & ' ( ) * + , - . / 0 1 2 3 4 5 6 7 8 9 : ; < = > ? @
769 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 Z [ \ ] ^ _ ` a b c d e
770 f g h i j k l m n o p q r s t u v w x y z { | } ~ \x7f \x80 \x81 \x82 \x83
771 \x84 \x86 \x87 \x88 \x89 \x8a \x8b \x8c \x8d \x8e \x8f \x90 \x91 \x92 \x93
772 \x94 \x95 \x96 \x97 \x98 \x99 \x9a \x9b \x9c \x9d \x9e \x9f \xa1 \xa2 \xa3
773 \xa4 \xa5 \xa6 \xa7 \xa8 \xa9 \xaa \xab \xac \xad \xae \xaf \xb0 \xb1 \xb2
774 \xb3 \xb4 \xb5 \xb6 \xb7 \xb8 \xb9 \xba \xbb \xbc \xbd \xbe \xbf \xc0 \xc1
775 \xc2 \xc3 \xc4 \xc5 \xc6 \xc7 \xc8 \xc9 \xca \xcb \xcc \xcd \xce \xcf \xd0
776 \xd1 \xd2 \xd3 \xd4 \xd5 \xd6 \xd7 \xd8 \xd9 \xda \xdb \xdc \xdd \xde \xdf
777 \xe0 \xe1 \xe2 \xe3 \xe4 \xe5 \xe6 \xe7 \xe8 \xe9 \xea \xeb \xec \xed \xee
778 \xef \xf0 \xf1 \xf2 \xf3 \xf4 \xf5 \xf6 \xf7 \xf8 \xf9 \xfa \xfb \xfc \xfd
779 \xfe \xff
780 \x{a2} \x{84}
781 0: \x{a2} \x{84}
782 A Z
783 0: A Z
784
785 /a+/8
786 a\x{123}aa\>1
787 0: aa
788 a\x{123}aa\>2
789 0: aa
790 a\x{123}aa\>3
791 0: a
792 a\x{123}aa\>4
793 No match
794 a\x{123}aa\>5
795 Error -24 (bad offset value)
796 a\x{123}aa\>6
797 Error -24 (bad offset value)
798
799 /\x{1234}+/iS8I
800 Capturing subpattern count = 0
801 Options: caseless utf
802 First char = \x{1234}
803 No need char
804 Subject length lower bound = 1
805 No set of starting bytes
806
807 /\x{1234}+?/iS8I
808 Capturing subpattern count = 0
809 Options: caseless utf
810 First char = \x{1234}
811 No need char
812 Subject length lower bound = 1
813 No set of starting bytes
814
815 /\x{1234}++/iS8I
816 Capturing subpattern count = 0
817 Options: caseless utf
818 First char = \x{1234}
819 No need char
820 Subject length lower bound = 1
821 No set of starting bytes
822
823 /\x{1234}{2}/iS8I
824 Capturing subpattern count = 0
825 Options: caseless utf
826 First char = \x{1234}
827 Need char = \x{1234}
828 Subject length lower bound = 2
829 No set of starting bytes
830
831 /[^\x{c4}]/8DZ
832 ------------------------------------------------------------------
833 Bra
834 [^\x{c4}]
835 Ket
836 End
837 ------------------------------------------------------------------
838 Capturing subpattern count = 0
839 Options: utf
840 No first char
841 No need char
842
843 /X+\x{200}/8DZ
844 ------------------------------------------------------------------
845 Bra
846 X++
847 \x{200}
848 Ket
849 End
850 ------------------------------------------------------------------
851 Capturing subpattern count = 0
852 Options: utf
853 First char = 'X'
854 Need char = \x{200}
855
856 /\R/SI8
857 Capturing subpattern count = 0
858 Options: utf
859 No first char
860 No need char
861 Subject length lower bound = 1
862 Starting byte set: \x0a \x0b \x0c \x0d \x85 \xff
863
864 /-- Check bad offset --/
865
866 /a/8
867 \x{10000}\>1
868 No match
869 \x{10000}ab\>1
870 0: a
871 \x{10000}ab\>2
872 No match
873 \x{10000}ab\>3
874 No match
875 \x{10000}ab\>4
876 Error -24 (bad offset value)
877 \x{10000}ab\>5
878 Error -24 (bad offset value)
879
880 //8
881 **Failed: character value is ill-formed UTF-32
882
883 /\w+\x{C4}/8BZ
884 ------------------------------------------------------------------
885 Bra
886 \w++
887 \x{c4}
888 Ket
889 End
890 ------------------------------------------------------------------
891 a\x{C4}\x{C4}
892 0: a\x{c4}
893
894 /\w+\x{C4}/8BZT1
895 ------------------------------------------------------------------
896 Bra
897 \w+
898 \x{c4}
899 Ket
900 End
901 ------------------------------------------------------------------
902 a\x{C4}\x{C4}
903 0: a\x{c4}\x{c4}
904
905 /\W+\x{C4}/8BZ
906 ------------------------------------------------------------------
907 Bra
908 \W+
909 \x{c4}
910 Ket
911 End
912 ------------------------------------------------------------------
913 !\x{C4}
914 0: !\x{c4}
915
916 /\W+\x{C4}/8BZT1
917 ------------------------------------------------------------------
918 Bra
919 \W++
920 \x{c4}
921 Ket
922 End
923 ------------------------------------------------------------------
924 !\x{C4}
925 0: !\x{c4}
926
927 /\W+\x{A1}/8BZ
928 ------------------------------------------------------------------
929 Bra
930 \W+
931 \x{a1}
932 Ket
933 End
934 ------------------------------------------------------------------
935 !\x{A1}
936 0: !\x{a1}
937
938 /\W+\x{A1}/8BZT1
939 ------------------------------------------------------------------
940 Bra
941 \W+
942 \x{a1}
943 Ket
944 End
945 ------------------------------------------------------------------
946 !\x{A1}
947 0: !\x{a1}
948
949 /X\s+\x{A0}/8BZ
950 ------------------------------------------------------------------
951 Bra
952 X
953 \s++
954 \x{a0}
955 Ket
956 End
957 ------------------------------------------------------------------
958 X\x20\x{A0}\x{A0}
959 0: X \x{a0}
960
961 /X\s+\x{A0}/8BZT1
962 ------------------------------------------------------------------
963 Bra
964 X
965 \s+
966 \x{a0}
967 Ket
968 End
969 ------------------------------------------------------------------
970 X\x20\x{A0}\x{A0}
971 0: X \x{a0}\x{a0}
972
973 /\S+\x{A0}/8BZ
974 ------------------------------------------------------------------
975 Bra
976 \S+
977 \x{a0}
978 Ket
979 End
980 ------------------------------------------------------------------
981 X\x{A0}\x{A0}
982 0: X\x{a0}\x{a0}
983
984 /\S+\x{A0}/8BZT1
985 ------------------------------------------------------------------
986 Bra
987 \S++
988 \x{a0}
989 Ket
990 End
991 ------------------------------------------------------------------
992 X\x{A0}\x{A0}
993 0: X\x{a0}
994
995 /\x{a0}+\s!/8BZ
996 ------------------------------------------------------------------
997 Bra
998 \x{a0}++
999 \s
1000 !
1001 Ket
1002 End
1003 ------------------------------------------------------------------
1004 \x{a0}\x20!
1005 0: \x{a0} !
1006
1007 /\x{a0}+\s!/8BZT1
1008 ------------------------------------------------------------------
1009 Bra
1010 \x{a0}+
1011 \s
1012 !
1013 Ket
1014 End
1015 ------------------------------------------------------------------
1016 \x{a0}\x20!
1017 0: \x{a0} !
1018
1019 /-- End of testinput18 --/

  ViewVC Help
Powered by ViewVC 1.1.5