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

Contents of /code/trunk/testdata/testinput9

Parent Directory Parent Directory | Revision Log Revision Log


Revision 211 - (show annotations) (download)
Thu Aug 9 09:52:43 2007 UTC (6 years, 8 months ago) by ph10
File size: 11632 byte(s)
Update UTF-8 validity check and documentation.

1 /\pL\P{Nd}/8
2 AB
3 *** Failers
4 A0
5 00
6
7 /\X./8
8 AB
9 A\x{300}BC
10 A\x{300}\x{301}\x{302}BC
11 *** Failers
12 \x{300}
13
14 /\X\X/8
15 ABC
16 A\x{300}B\x{300}\x{301}C
17 A\x{300}\x{301}\x{302}BC
18 *** Failers
19 \x{300}
20
21 /^\pL+/8
22 abcd
23 a
24 *** Failers
25
26 /^\PL+/8
27 1234
28 =
29 *** Failers
30 abcd
31
32 /^\X+/8
33 abcdA\x{300}\x{301}\x{302}
34 A\x{300}\x{301}\x{302}
35 A\x{300}\x{301}\x{302}A\x{300}\x{301}\x{302}
36 a
37 *** Failers
38 \x{300}\x{301}\x{302}
39
40 /\X?abc/8
41 abc
42 A\x{300}abc
43 A\x{300}\x{301}\x{302}A\x{300}A\x{300}A\x{300}abcxyz
44 \x{300}abc
45 *** Failers
46
47 /^\X?abc/8
48 abc
49 A\x{300}abc
50 *** Failers
51 A\x{300}\x{301}\x{302}A\x{300}A\x{300}A\x{300}abcxyz
52 \x{300}abc
53
54 /\X*abc/8
55 abc
56 A\x{300}abc
57 A\x{300}\x{301}\x{302}A\x{300}A\x{300}A\x{300}abcxyz
58 \x{300}abc
59 *** Failers
60
61 /^\X*abc/8
62 abc
63 A\x{300}abc
64 A\x{300}\x{301}\x{302}A\x{300}A\x{300}A\x{300}abcxyz
65 *** Failers
66 \x{300}abc
67
68 /^\pL?=./8
69 A=b
70 =c
71 *** Failers
72 1=2
73 AAAA=b
74
75 /^\pL*=./8
76 AAAA=b
77 =c
78 *** Failers
79 1=2
80
81 /^\X{2,3}X/8
82 A\x{300}\x{301}\x{302}A\x{300}\x{301}\x{302}X
83 A\x{300}\x{301}\x{302}A\x{300}\x{301}\x{302}A\x{300}\x{301}\x{302}X
84 *** Failers
85 X
86 A\x{300}\x{301}\x{302}X
87 A\x{300}\x{301}\x{302}A\x{300}\x{301}\x{302}A\x{300}\x{301}\x{302}A\x{300}\x{301}\x{302}X
88
89 /^\pC\pL\pM\pN\pP\pS\pZ</8
90 \x7f\x{c0}\x{30f}\x{660}\x{66c}\x{f01}\x{1680}<
91 \np\x{300}9!\$ <
92 ** Failers
93 ap\x{300}9!\$ <
94
95 /^\PC/8
96 X
97 ** Failers
98 \x7f
99
100 /^\PL/8
101 9
102 ** Failers
103 \x{c0}
104
105 /^\PM/8
106 X
107 ** Failers
108 \x{30f}
109
110 /^\PN/8
111 X
112 ** Failers
113 \x{660}
114
115 /^\PP/8
116 X
117 ** Failers
118 \x{66c}
119
120 /^\PS/8
121 X
122 ** Failers
123 \x{f01}
124
125 /^\PZ/8
126 X
127 ** Failers
128 \x{1680}
129
130 /^\p{Cc}/8
131 \x{017}
132 \x{09f}
133 ** Failers
134 \x{0600}
135
136 /^\p{Cf}/8
137 \x{601}
138 ** Failers
139 \x{09f}
140
141 /^\p{Cn}/8
142 ** Failers
143 \x{09f}
144
145 /^\p{Co}/8
146 \x{f8ff}
147 ** Failers
148 \x{09f}
149
150 /^\p{Cs}/8
151 \?\x{dfff}
152 ** Failers
153 \x{09f}
154
155 /^\p{Ll}/8
156 a
157 ** Failers
158 Z
159 \x{e000}
160
161 /^\p{Lm}/8
162 \x{2b0}
163 ** Failers
164 a
165
166 /^\p{Lo}/8
167 \x{1bb}
168 ** Failers
169 a
170 \x{2b0}
171
172 /^\p{Lt}/8
173 \x{1c5}
174 ** Failers
175 a
176 \x{2b0}
177
178 /^\p{Lu}/8
179 A
180 ** Failers
181 \x{2b0}
182
183 /^\p{Mc}/8
184 \x{903}
185 ** Failers
186 X
187 \x{300}
188
189 /^\p{Me}/8
190 \x{488}
191 ** Failers
192 X
193 \x{903}
194 \x{300}
195
196 /^\p{Mn}/8
197 \x{300}
198 ** Failers
199 X
200 \x{903}
201
202 /^\p{Nd}+/8
203 0123456789\x{660}\x{661}\x{662}\x{663}\x{664}\x{665}\x{666}\x{667}\x{668}\x{669}\x{66a}
204 \x{6f0}\x{6f1}\x{6f2}\x{6f3}\x{6f4}\x{6f5}\x{6f6}\x{6f7}\x{6f8}\x{6f9}\x{6fa}
205 \x{966}\x{967}\x{968}\x{969}\x{96a}\x{96b}\x{96c}\x{96d}\x{96e}\x{96f}\x{970}
206 ** Failers
207 X
208
209 /^\p{Nl}/8
210 \x{16ee}
211 ** Failers
212 X
213 \x{966}
214
215 /^\p{No}/8
216 \x{b2}
217 \x{b3}
218 ** Failers
219 X
220 \x{16ee}
221
222 /^\p{Pc}/8
223 \x5f
224 \x{203f}
225 ** Failers
226 X
227 -
228 \x{58a}
229
230 /^\p{Pd}/8
231 -
232 \x{58a}
233 ** Failers
234 X
235 \x{203f}
236
237 /^\p{Pe}/8
238 )
239 ]
240 }
241 \x{f3b}
242 ** Failers
243 X
244 \x{203f}
245 (
246 [
247 {
248 \x{f3c}
249
250 /^\p{Pf}/8
251 \x{bb}
252 \x{2019}
253 ** Failers
254 X
255 \x{203f}
256
257 /^\p{Pi}/8
258 \x{ab}
259 \x{2018}
260 ** Failers
261 X
262 \x{203f}
263
264 /^\p{Po}/8
265 !
266 \x{37e}
267 ** Failers
268 X
269 \x{203f}
270
271 /^\p{Ps}/8
272 (
273 [
274 {
275 \x{f3c}
276 ** Failers
277 X
278 )
279 ]
280 }
281 \x{f3b}
282
283 /^\p{Sc}+/8
284 $\x{a2}\x{a3}\x{a4}\x{a5}\x{a6}
285 \x{9f2}
286 ** Failers
287 X
288 \x{2c2}
289
290 /^\p{Sk}/8
291 \x{2c2}
292 ** Failers
293 X
294 \x{9f2}
295
296 /^\p{Sm}+/8
297 +<|~\x{ac}\x{2044}
298 ** Failers
299 X
300 \x{9f2}
301
302 /^\p{So}/8
303 \x{a6}
304 \x{482}
305 ** Failers
306 X
307 \x{9f2}
308
309 /^\p{Zl}/8
310 \x{2028}
311 ** Failers
312 X
313 \x{2029}
314
315 /^\p{Zp}/8
316 \x{2029}
317 ** Failers
318 X
319 \x{2028}
320
321 /^\p{Zs}/8
322 \ \
323 \x{a0}
324 \x{1680}
325 \x{180e}
326 \x{2000}
327 \x{2001}
328 ** Failers
329 \x{2028}
330 \x{200d}
331
332 /\p{Nd}+(..)/8
333 \x{660}\x{661}\x{662}ABC
334
335 /\p{Nd}+?(..)/8
336 \x{660}\x{661}\x{662}ABC
337
338 /\p{Nd}{2,}(..)/8
339 \x{660}\x{661}\x{662}ABC
340
341 /\p{Nd}{2,}?(..)/8
342 \x{660}\x{661}\x{662}ABC
343
344 /\p{Nd}*(..)/8
345 \x{660}\x{661}\x{662}ABC
346
347 /\p{Nd}*?(..)/8
348 \x{660}\x{661}\x{662}ABC
349
350 /\p{Nd}{2}(..)/8
351 \x{660}\x{661}\x{662}ABC
352
353 /\p{Nd}{2,3}(..)/8
354 \x{660}\x{661}\x{662}ABC
355
356 /\p{Nd}{2,3}?(..)/8
357 \x{660}\x{661}\x{662}ABC
358
359 /\p{Nd}?(..)/8
360 \x{660}\x{661}\x{662}ABC
361
362 /\p{Nd}??(..)/8
363 \x{660}\x{661}\x{662}ABC
364
365 /\p{Nd}*+(..)/8
366 \x{660}\x{661}\x{662}ABC
367
368 /\p{Nd}*+(...)/8
369 \x{660}\x{661}\x{662}ABC
370
371 /\p{Nd}*+(....)/8
372 ** Failers
373 \x{660}\x{661}\x{662}ABC
374
375 /\p{Lu}/8i
376 A
377 a\x{10a0}B
378 ** Failers
379 a
380 \x{1d00}
381
382 /\p{^Lu}/8i
383 1234
384 ** Failers
385 ABC
386
387 /\P{Lu}/8i
388 1234
389 ** Failers
390 ABC
391
392 /(?<=A\p{Nd})XYZ/8
393 A2XYZ
394 123A5XYZPQR
395 ABA\x{660}XYZpqr
396 ** Failers
397 AXYZ
398 XYZ
399
400 /(?<!\pL)XYZ/8
401 1XYZ
402 AB=XYZ..
403 XYZ
404 ** Failers
405 WXYZ
406
407 /[\p{Nd}]/8
408 1234
409
410 /[\p{Nd}+-]+/8
411 1234
412 12-34
413 12+\x{661}-34
414 ** Failers
415 abcd
416
417 /[\P{Nd}]+/8
418 abcd
419 ** Failers
420 1234
421
422 /\D+/8
423 11111111111111111111111111111111111111111111111111111111111111111111111
424 aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
425
426 /\P{Nd}+/8
427 11111111111111111111111111111111111111111111111111111111111111111111111
428 aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
429
430 /[\D]+/8
431 11111111111111111111111111111111111111111111111111111111111111111111111
432 aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
433
434 /[\P{Nd}]+/8
435 11111111111111111111111111111111111111111111111111111111111111111111111
436 aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
437
438 /[\D\P{Nd}]+/8
439 11111111111111111111111111111111111111111111111111111111111111111111111
440 aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
441
442 /\pL/8
443 a
444 A
445
446 /\pL/8i
447 a
448 A
449
450 /\p{Lu}/8
451 A
452 aZ
453 ** Failers
454 abc
455
456 /\p{Lu}/8i
457 A
458 aZ
459 ** Failers
460 abc
461
462 /\p{Ll}/8
463 a
464 Az
465 ** Failers
466 ABC
467
468 /\p{Ll}/8i
469 a
470 Az
471 ** Failers
472 ABC
473
474 /^\x{c0}$/8i
475 \x{c0}
476 \x{e0}
477
478 /^\x{e0}$/8i
479 \x{c0}
480 \x{e0}
481
482 /A\x{391}\x{10427}\x{ff3a}\x{1fb0}/8
483 A\x{391}\x{10427}\x{ff3a}\x{1fb0}
484 ** Failers
485 a\x{391}\x{10427}\x{ff3a}\x{1fb0}
486 A\x{3b1}\x{10427}\x{ff3a}\x{1fb0}
487 A\x{391}\x{1044F}\x{ff3a}\x{1fb0}
488 A\x{391}\x{10427}\x{ff5a}\x{1fb0}
489 A\x{391}\x{10427}\x{ff3a}\x{1fb8}
490
491 /A\x{391}\x{10427}\x{ff3a}\x{1fb0}/8i
492 A\x{391}\x{10427}\x{ff3a}\x{1fb0}
493 a\x{391}\x{10427}\x{ff3a}\x{1fb0}
494 A\x{3b1}\x{10427}\x{ff3a}\x{1fb0}
495 A\x{391}\x{1044F}\x{ff3a}\x{1fb0}
496 A\x{391}\x{10427}\x{ff5a}\x{1fb0}
497 A\x{391}\x{10427}\x{ff3a}\x{1fb8}
498
499 /\x{391}+/8i
500 \x{391}\x{3b1}\x{3b1}\x{3b1}\x{391}
501
502 /\x{391}{3,5}(.)/8i
503 \x{391}\x{3b1}\x{3b1}\x{3b1}\x{391}X
504
505 /\x{391}{3,5}?(.)/8i
506 \x{391}\x{3b1}\x{3b1}\x{3b1}\x{391}X
507
508 /[\x{391}\x{ff3a}]/8i
509 \x{391}
510 \x{ff3a}
511 \x{3b1}
512 \x{ff5a}
513
514 /[\x{c0}\x{391}]/8i
515 \x{c0}
516 \x{e0}
517
518 /[\x{105}-\x{109}]/8i
519 \x{104}
520 \x{105}
521 \x{109}
522 ** Failers
523 \x{100}
524 \x{10a}
525
526 /[z-\x{100}]/8i
527 Z
528 z
529 \x{39c}
530 \x{178}
531 |
532 \x{80}
533 \x{ff}
534 \x{100}
535 \x{101}
536 ** Failers
537 \x{102}
538 Y
539 y
540
541 /[z-\x{100}]/8i
542
543 /^\X/8
544 A
545 A\x{300}BC
546 A\x{300}\x{301}\x{302}BC
547 *** Failers
548 \x{300}
549
550 /^[\X]/8
551 X123
552 *** Failers
553 AXYZ
554
555 /^(\X*)C/8
556 A\x{300}\x{301}\x{302}BCA\x{300}\x{301}
557 A\x{300}\x{301}\x{302}BCA\x{300}\x{301}C
558
559 /^(\X*?)C/8
560 A\x{300}\x{301}\x{302}BCA\x{300}\x{301}
561 A\x{300}\x{301}\x{302}BCA\x{300}\x{301}C
562
563 /^(\X*)(.)/8
564 A\x{300}\x{301}\x{302}BCA\x{300}\x{301}
565 A\x{300}\x{301}\x{302}BCA\x{300}\x{301}C
566
567 /^(\X*?)(.)/8
568 A\x{300}\x{301}\x{302}BCA\x{300}\x{301}
569 A\x{300}\x{301}\x{302}BCA\x{300}\x{301}C
570
571 /^\X(.)/8
572 *** Failers
573 A\x{300}\x{301}\x{302}
574
575 /^\X{2,3}(.)/8
576 A\x{300}\x{301}B\x{300}X
577 A\x{300}\x{301}B\x{300}C\x{300}\x{301}
578 A\x{300}\x{301}B\x{300}C\x{300}\x{301}X
579 A\x{300}\x{301}B\x{300}C\x{300}\x{301}DA\x{300}X
580
581 /^\X{2,3}?(.)/8
582 A\x{300}\x{301}B\x{300}X
583 A\x{300}\x{301}B\x{300}C\x{300}\x{301}
584 A\x{300}\x{301}B\x{300}C\x{300}\x{301}X
585 A\x{300}\x{301}B\x{300}C\x{300}\x{301}DA\x{300}X
586
587 /^\pN{2,3}X/
588 12X
589 123X
590 *** Failers
591 X
592 1X
593 1234X
594
595 /\x{100}/i8
596 \x{100}
597 \x{101}
598
599 /^\p{Han}+/8
600 \x{2e81}\x{3007}\x{2f804}\x{31a0}
601 ** Failers
602 \x{2e7f}
603
604 /^\P{Katakana}+/8
605 \x{3105}
606 ** Failers
607 \x{30ff}
608
609 /^[\p{Arabic}]/8
610 \x{06e9}
611 \x{060b}
612 ** Failers
613 X\x{06e9}
614
615 /^[\P{Yi}]/8
616 \x{2f800}
617 ** Failers
618 \x{a014}
619 \x{a4c6}
620
621 /^\p{Any}X/8
622 AXYZ
623 \x{1234}XYZ
624 ** Failers
625 X
626
627 /^\P{Any}X/8
628 ** Failers
629 AX
630
631 /^\p{Any}?X/8
632 XYZ
633 AXYZ
634 \x{1234}XYZ
635 ** Failers
636 ABXYZ
637
638 /^\P{Any}?X/8
639 XYZ
640 ** Failers
641 AXYZ
642 \x{1234}XYZ
643 ABXYZ
644
645 /^\p{Any}+X/8
646 AXYZ
647 \x{1234}XYZ
648 A\x{1234}XYZ
649 ** Failers
650 XYZ
651
652 /^\P{Any}+X/8
653 ** Failers
654 AXYZ
655 \x{1234}XYZ
656 A\x{1234}XYZ
657 XYZ
658
659 /^\p{Any}*X/8
660 XYZ
661 AXYZ
662 \x{1234}XYZ
663 A\x{1234}XYZ
664 ** Failers
665
666 /^\P{Any}*X/8
667 XYZ
668 ** Failers
669 AXYZ
670 \x{1234}XYZ
671 A\x{1234}XYZ
672
673 /^[\p{Any}]X/8
674 AXYZ
675 \x{1234}XYZ
676 ** Failers
677 X
678
679 /^[\P{Any}]X/8
680 ** Failers
681 AX
682
683 /^[\p{Any}]?X/8
684 XYZ
685 AXYZ
686 \x{1234}XYZ
687 ** Failers
688 ABXYZ
689
690 /^[\P{Any}]?X/8
691 XYZ
692 ** Failers
693 AXYZ
694 \x{1234}XYZ
695 ABXYZ
696
697 /^[\p{Any}]+X/8
698 AXYZ
699 \x{1234}XYZ
700 A\x{1234}XYZ
701 ** Failers
702 XYZ
703
704 /^[\P{Any}]+X/8
705 ** Failers
706 AXYZ
707 \x{1234}XYZ
708 A\x{1234}XYZ
709 XYZ
710
711 /^[\p{Any}]*X/8
712 XYZ
713 AXYZ
714 \x{1234}XYZ
715 A\x{1234}XYZ
716 ** Failers
717
718 /^[\P{Any}]*X/8
719 XYZ
720 ** Failers
721 AXYZ
722 \x{1234}XYZ
723 A\x{1234}XYZ
724
725 /^\p{Any}{3,5}?/8
726 abcdefgh
727 \x{1234}\n\r\x{3456}xyz
728
729 /^\p{Any}{3,5}/8
730 abcdefgh
731 \x{1234}\n\r\x{3456}xyz
732
733 /^\P{Any}{3,5}?/8
734 ** Failers
735 abcdefgh
736 \x{1234}\n\r\x{3456}xyz
737
738 /^\p{L&}X/8
739 AXY
740 aXY
741 \x{1c5}XY
742 ** Failers
743 \x{1bb}XY
744 \x{2b0}XY
745 !XY
746
747 /^[\p{L&}]X/8
748 AXY
749 aXY
750 \x{1c5}XY
751 ** Failers
752 \x{1bb}XY
753 \x{2b0}XY
754 !XY
755
756 /^\p{L&}+X/8
757 AXY
758 aXY
759 AbcdeXyz
760 \x{1c5}AbXY
761 abcDEXypqreXlmn
762 ** Failers
763 \x{1bb}XY
764 \x{2b0}XY
765 !XY
766
767 /^[\p{L&}]+X/8
768 AXY
769 aXY
770 AbcdeXyz
771 \x{1c5}AbXY
772 abcDEXypqreXlmn
773 ** Failers
774 \x{1bb}XY
775 \x{2b0}XY
776 !XY
777
778 /^\p{L&}+?X/8
779 AXY
780 aXY
781 AbcdeXyz
782 \x{1c5}AbXY
783 abcDEXypqreXlmn
784 ** Failers
785 \x{1bb}XY
786 \x{2b0}XY
787 !XY
788
789 /^[\p{L&}]+?X/8
790 AXY
791 aXY
792 AbcdeXyz
793 \x{1c5}AbXY
794 abcDEXypqreXlmn
795 ** Failers
796 \x{1bb}XY
797 \x{2b0}XY
798 !XY
799
800 /^\P{L&}X/8
801 !XY
802 \x{1bb}XY
803 \x{2b0}XY
804 ** Failers
805 \x{1c5}XY
806 AXY
807
808 /^[\P{L&}]X/8
809 !XY
810 \x{1bb}XY
811 \x{2b0}XY
812 ** Failers
813 \x{1c5}XY
814 AXY
815
816 /^\x{023a}+?(\x{0130}+)/8i
817 \x{023a}\x{2c65}\x{0130}
818
819 /^\x{023a}+([^X])/8i
820 \x{023a}\x{2c65}X
821
822 /Check property support in non-UTF-8 mode/
823
824 /\p{L}{4}/
825 123abcdefg
826 123abc\xc4\xc5zz
827
828 / End /

Properties

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

webmaster@exim.org
ViewVC Help
Powered by ViewVC 1.1.12