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

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

Parent Directory Parent Directory | Revision Log Revision Log


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

  ViewVC Help
Powered by ViewVC 1.1.5