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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1090 - (show annotations)
Tue Oct 16 15:55:48 2012 UTC (7 years, 1 month ago) by chpe
File size: 22373 byte(s)
pcre32: pcretest: Don't convert data line to UTF-8 first

While reading the data lines, directly put them into the 8, 16 or
32 bit buffers instead of first converting them into UTF-8 and only
afterwards converting that buffer to 16/32 bit. This is necessary so
the in 32 bit mode the \x{} escapes can use the full 32-bit range
(while the non-standard 5/6 byte UTF-8 sequences can only express
characters up to 31-bits).
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 No match
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-32)\x{11234}/
642 Failed: (*VERB) not recognized at offset 5
643
644 /(*CRLF)(*UTF16)(*BSR_UNICODE)a\Rb/I
645 Failed: (*VERB) not recognized at offset 12
646
647 /(*CRLF)(*UTF32)(*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 /\h/SI8
655 Capturing subpattern count = 0
656 Options: utf
657 No first char
658 No need char
659 Subject length lower bound = 1
660 Starting byte set: \x09 \x20 \xa0 \xff
661 ABC\x{09}
662 0: \x{09}
663 ABC\x{20}
664 0:
665 ABC\x{a0}
666 0: \x{a0}
667 ABC\x{1680}
668 0: \x{1680}
669 ABC\x{180e}
670 0: \x{180e}
671 ABC\x{2000}
672 0: \x{2000}
673 ABC\x{202f}
674 0: \x{202f}
675 ABC\x{205f}
676 0: \x{205f}
677 ABC\x{3000}
678 0: \x{3000}
679
680 /\v/SI8
681 Capturing subpattern count = 0
682 Options: utf
683 No first char
684 No need char
685 Subject length lower bound = 1
686 Starting byte set: \x0a \x0b \x0c \x0d \x85 \xff
687 ABC\x{0a}
688 0: \x{0a}
689 ABC\x{0b}
690 0: \x{0b}
691 ABC\x{0c}
692 0: \x{0c}
693 ABC\x{0d}
694 0: \x{0d}
695 ABC\x{85}
696 0: \x{85}
697 ABC\x{2028}
698 0: \x{2028}
699
700 /\h*A/SI8
701 Capturing subpattern count = 0
702 Options: utf
703 No first char
704 Need char = 'A'
705 Subject length lower bound = 1
706 Starting byte set: \x09 \x20 A \xa0 \xff
707 CDBABC
708 0: A
709 \x{2000}ABC
710 0: \x{2000}A
711
712 /\R*A/SI8
713 Capturing subpattern count = 0
714 Options: utf
715 No first char
716 Need char = 'A'
717 Subject length lower bound = 1
718 Starting byte set: \x0a \x0b \x0c \x0d A \x85 \xff
719 CDBABC
720 0: A
721 \x{2028}A
722 0: \x{2028}A
723
724 /\v+A/SI8
725 Capturing subpattern count = 0
726 Options: utf
727 No first char
728 Need char = 'A'
729 Subject length lower bound = 2
730 Starting byte set: \x0a \x0b \x0c \x0d \x85 \xff
731
732 /\s?xxx\s/8SI
733 Capturing subpattern count = 0
734 Options: utf
735 No first char
736 Need char = 'x'
737 Subject length lower bound = 4
738 Starting byte set: \x09 \x0a \x0c \x0d \x20 x
739
740 /\sxxx\s/I8ST1
741 Capturing subpattern count = 0
742 Options: utf
743 No first char
744 Need char = 'x'
745 Subject length lower bound = 5
746 Starting byte set: \x09 \x0a \x0c \x0d \x20 \x85 \xa0
747 AB\x{85}xxx\x{a0}XYZ
748 0: \x{85}xxx\x{a0}
749 AB\x{a0}xxx\x{85}XYZ
750 0: \x{a0}xxx\x{85}
751
752 /\S \S/I8ST1
753 Capturing subpattern count = 0
754 Options: utf
755 No first char
756 Need char = ' '
757 Subject length lower bound = 3
758 Starting byte set: \x00 \x01 \x02 \x03 \x04 \x05 \x06 \x07 \x08 \x0b \x0e
759 \x0f \x10 \x11 \x12 \x13 \x14 \x15 \x16 \x17 \x18 \x19 \x1a \x1b \x1c \x1d
760 \x1e \x1f ! " # $ % & ' ( ) * + , - . / 0 1 2 3 4 5 6 7 8 9 : ; < = > ? @
761 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
762 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
763 \x84 \x86 \x87 \x88 \x89 \x8a \x8b \x8c \x8d \x8e \x8f \x90 \x91 \x92 \x93
764 \x94 \x95 \x96 \x97 \x98 \x99 \x9a \x9b \x9c \x9d \x9e \x9f \xa1 \xa2 \xa3
765 \xa4 \xa5 \xa6 \xa7 \xa8 \xa9 \xaa \xab \xac \xad \xae \xaf \xb0 \xb1 \xb2
766 \xb3 \xb4 \xb5 \xb6 \xb7 \xb8 \xb9 \xba \xbb \xbc \xbd \xbe \xbf \xc0 \xc1
767 \xc2 \xc3 \xc4 \xc5 \xc6 \xc7 \xc8 \xc9 \xca \xcb \xcc \xcd \xce \xcf \xd0
768 \xd1 \xd2 \xd3 \xd4 \xd5 \xd6 \xd7 \xd8 \xd9 \xda \xdb \xdc \xdd \xde \xdf
769 \xe0 \xe1 \xe2 \xe3 \xe4 \xe5 \xe6 \xe7 \xe8 \xe9 \xea \xeb \xec \xed \xee
770 \xef \xf0 \xf1 \xf2 \xf3 \xf4 \xf5 \xf6 \xf7 \xf8 \xf9 \xfa \xfb \xfc \xfd
771 \xfe \xff
772 \x{a2} \x{84}
773 0: \x{a2} \x{84}
774 A Z
775 0: A Z
776
777 /a+/8
778 a\x{123}aa\>1
779 0: aa
780 a\x{123}aa\>2
781 0: aa
782 a\x{123}aa\>3
783 0: a
784 a\x{123}aa\>4
785 No match
786 a\x{123}aa\>5
787 Error -24 (bad offset value)
788 a\x{123}aa\>6
789 Error -24 (bad offset value)
790
791 /\x{1234}+/iS8I
792 Capturing subpattern count = 0
793 Options: caseless utf
794 First char = \x{1234}
795 No need char
796 Subject length lower bound = 1
797 No set of starting bytes
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}{2}/iS8I
816 Capturing subpattern count = 0
817 Options: caseless utf
818 First char = \x{1234}
819 Need char = \x{1234}
820 Subject length lower bound = 2
821 No set of starting bytes
822
823 /[^\x{c4}]/8DZ
824 ------------------------------------------------------------------
825 Bra
826 [^\x{c4}]
827 Ket
828 End
829 ------------------------------------------------------------------
830 Capturing subpattern count = 0
831 Options: utf
832 No first char
833 No need char
834
835 /X+\x{200}/8DZ
836 ------------------------------------------------------------------
837 Bra
838 X++
839 \x{200}
840 Ket
841 End
842 ------------------------------------------------------------------
843 Capturing subpattern count = 0
844 Options: utf
845 First char = 'X'
846 Need char = \x{200}
847
848 /\R/SI8
849 Capturing subpattern count = 0
850 Options: utf
851 No first char
852 No need char
853 Subject length lower bound = 1
854 Starting byte set: \x0a \x0b \x0c \x0d \x85 \xff
855
856 /-- Check bad offset --/
857
858 /a/8
859 \x{10000}\>1
860 No match
861 \x{10000}ab\>1
862 0: a
863 \x{10000}ab\>2
864 No match
865 \x{10000}ab\>3
866 No match
867 \x{10000}ab\>4
868 Error -24 (bad offset value)
869 \x{10000}ab\>5
870 Error -24 (bad offset value)
871
872 //8
873 **Failed: character value is ill-formed UTF-32
874
875 /\w+\x{C4}/8BZ
876 ------------------------------------------------------------------
877 Bra
878 \w++
879 \x{c4}
880 Ket
881 End
882 ------------------------------------------------------------------
883 a\x{C4}\x{C4}
884 0: a\x{c4}
885
886 /\w+\x{C4}/8BZT1
887 ------------------------------------------------------------------
888 Bra
889 \w+
890 \x{c4}
891 Ket
892 End
893 ------------------------------------------------------------------
894 a\x{C4}\x{C4}
895 0: a\x{c4}\x{c4}
896
897 /\W+\x{C4}/8BZ
898 ------------------------------------------------------------------
899 Bra
900 \W+
901 \x{c4}
902 Ket
903 End
904 ------------------------------------------------------------------
905 !\x{C4}
906 0: !\x{c4}
907
908 /\W+\x{C4}/8BZT1
909 ------------------------------------------------------------------
910 Bra
911 \W++
912 \x{c4}
913 Ket
914 End
915 ------------------------------------------------------------------
916 !\x{C4}
917 0: !\x{c4}
918
919 /\W+\x{A1}/8BZ
920 ------------------------------------------------------------------
921 Bra
922 \W+
923 \x{a1}
924 Ket
925 End
926 ------------------------------------------------------------------
927 !\x{A1}
928 0: !\x{a1}
929
930 /\W+\x{A1}/8BZT1
931 ------------------------------------------------------------------
932 Bra
933 \W+
934 \x{a1}
935 Ket
936 End
937 ------------------------------------------------------------------
938 !\x{A1}
939 0: !\x{a1}
940
941 /X\s+\x{A0}/8BZ
942 ------------------------------------------------------------------
943 Bra
944 X
945 \s++
946 \x{a0}
947 Ket
948 End
949 ------------------------------------------------------------------
950 X\x20\x{A0}\x{A0}
951 0: X \x{a0}
952
953 /X\s+\x{A0}/8BZT1
954 ------------------------------------------------------------------
955 Bra
956 X
957 \s+
958 \x{a0}
959 Ket
960 End
961 ------------------------------------------------------------------
962 X\x20\x{A0}\x{A0}
963 0: X \x{a0}\x{a0}
964
965 /\S+\x{A0}/8BZ
966 ------------------------------------------------------------------
967 Bra
968 \S+
969 \x{a0}
970 Ket
971 End
972 ------------------------------------------------------------------
973 X\x{A0}\x{A0}
974 0: X\x{a0}\x{a0}
975
976 /\S+\x{A0}/8BZT1
977 ------------------------------------------------------------------
978 Bra
979 \S++
980 \x{a0}
981 Ket
982 End
983 ------------------------------------------------------------------
984 X\x{A0}\x{A0}
985 0: X\x{a0}
986
987 /\x{a0}+\s!/8BZ
988 ------------------------------------------------------------------
989 Bra
990 \x{a0}++
991 \s
992 !
993 Ket
994 End
995 ------------------------------------------------------------------
996 \x{a0}\x20!
997 0: \x{a0} !
998
999 /\x{a0}+\s!/8BZT1
1000 ------------------------------------------------------------------
1001 Bra
1002 \x{a0}+
1003 \s
1004 !
1005 Ket
1006 End
1007 ------------------------------------------------------------------
1008 \x{a0}\x20!
1009 0: \x{a0} !
1010
1011 /-- End of testinput18 --/

  ViewVC Help
Powered by ViewVC 1.1.5