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

Contents of /code/trunk/testdata/testinput6

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1351 - (show annotations)
Sat Jul 27 11:18:33 2013 UTC (6 years, 4 months ago) by ph10
File size: 21208 byte(s)
Move a non-Perl compatible test out of the Perl-compatible file.
1 /-- This set of tests is for Unicode property support. It is compatible with
2 Perl >= 5.15. --/
3
4 /^\pC\pL\pM\pN\pP\pS\pZ</8
5 \x7f\x{c0}\x{30f}\x{660}\x{66c}\x{f01}\x{1680}<
6 \np\x{300}9!\$ <
7 ** Failers
8 ap\x{300}9!\$ <
9
10 /^\PC/8
11 X
12 ** Failers
13 \x7f
14
15 /^\PL/8
16 9
17 ** Failers
18 \x{c0}
19
20 /^\PM/8
21 X
22 ** Failers
23 \x{30f}
24
25 /^\PN/8
26 X
27 ** Failers
28 \x{660}
29
30 /^\PP/8
31 X
32 ** Failers
33 \x{66c}
34
35 /^\PS/8
36 X
37 ** Failers
38 \x{f01}
39
40 /^\PZ/8
41 X
42 ** Failers
43 \x{1680}
44
45 /^\p{Cc}/8
46 \x{017}
47 \x{09f}
48 ** Failers
49 \x{0600}
50
51 /^\p{Cf}/8
52 \x{601}
53 ** Failers
54 \x{09f}
55
56 /^\p{Cn}/8
57 \x{e0000}
58 ** Failers
59 \x{09f}
60
61 /^\p{Co}/8
62 \x{f8ff}
63 ** Failers
64 \x{09f}
65
66 /^\p{Ll}/8
67 a
68 ** Failers
69 Z
70 \x{e000}
71
72 /^\p{Lm}/8
73 \x{2b0}
74 ** Failers
75 a
76
77 /^\p{Lo}/8
78 \x{1bb}
79 \x{3400}
80 \x{3401}
81 \x{4d00}
82 \x{4db4}
83 \x{4db5}
84 ** Failers
85 a
86 \x{2b0}
87 \x{4db6}
88
89 /^\p{Lt}/8
90 \x{1c5}
91 ** Failers
92 a
93 \x{2b0}
94
95 /^\p{Lu}/8
96 A
97 ** Failers
98 \x{2b0}
99
100 /^\p{Mc}/8
101 \x{903}
102 ** Failers
103 X
104 \x{300}
105
106 /^\p{Me}/8
107 \x{488}
108 ** Failers
109 X
110 \x{903}
111 \x{300}
112
113 /^\p{Mn}/8
114 \x{300}
115 ** Failers
116 X
117 \x{903}
118
119 /^\p{Nd}+/8
120 0123456789\x{660}\x{661}\x{662}\x{663}\x{664}\x{665}\x{666}\x{667}\x{668}\x{669}\x{66a}
121 \x{6f0}\x{6f1}\x{6f2}\x{6f3}\x{6f4}\x{6f5}\x{6f6}\x{6f7}\x{6f8}\x{6f9}\x{6fa}
122 \x{966}\x{967}\x{968}\x{969}\x{96a}\x{96b}\x{96c}\x{96d}\x{96e}\x{96f}\x{970}
123 ** Failers
124 X
125
126 /^\p{Nl}/8
127 \x{16ee}
128 ** Failers
129 X
130 \x{966}
131
132 /^\p{No}/8
133 \x{b2}
134 \x{b3}
135 ** Failers
136 X
137 \x{16ee}
138
139 /^\p{Pc}/8
140 \x5f
141 \x{203f}
142 ** Failers
143 X
144 -
145 \x{58a}
146
147 /^\p{Pd}/8
148 -
149 \x{58a}
150 ** Failers
151 X
152 \x{203f}
153
154 /^\p{Pe}/8
155 )
156 ]
157 }
158 \x{f3b}
159 ** Failers
160 X
161 \x{203f}
162 (
163 [
164 {
165 \x{f3c}
166
167 /^\p{Pf}/8
168 \x{bb}
169 \x{2019}
170 ** Failers
171 X
172 \x{203f}
173
174 /^\p{Pi}/8
175 \x{ab}
176 \x{2018}
177 ** Failers
178 X
179 \x{203f}
180
181 /^\p{Po}/8
182 !
183 \x{37e}
184 ** Failers
185 X
186 \x{203f}
187
188 /^\p{Ps}/8
189 (
190 [
191 {
192 \x{f3c}
193 ** Failers
194 X
195 )
196 ]
197 }
198 \x{f3b}
199
200 /^\p{Sk}/8
201 \x{2c2}
202 ** Failers
203 X
204 \x{9f2}
205
206 /^\p{Sm}+/8
207 +<|~\x{ac}\x{2044}
208 ** Failers
209 X
210 \x{9f2}
211
212 /^\p{So}/8
213 \x{a6}
214 \x{482}
215 ** Failers
216 X
217 \x{9f2}
218
219 /^\p{Zl}/8
220 \x{2028}
221 ** Failers
222 X
223 \x{2029}
224
225 /^\p{Zp}/8
226 \x{2029}
227 ** Failers
228 X
229 \x{2028}
230
231 /\p{Nd}+(..)/8
232 \x{660}\x{661}\x{662}ABC
233
234 /\p{Nd}+?(..)/8
235 \x{660}\x{661}\x{662}ABC
236
237 /\p{Nd}{2,}(..)/8
238 \x{660}\x{661}\x{662}ABC
239
240 /\p{Nd}{2,}?(..)/8
241 \x{660}\x{661}\x{662}ABC
242
243 /\p{Nd}*(..)/8
244 \x{660}\x{661}\x{662}ABC
245
246 /\p{Nd}*?(..)/8
247 \x{660}\x{661}\x{662}ABC
248
249 /\p{Nd}{2}(..)/8
250 \x{660}\x{661}\x{662}ABC
251
252 /\p{Nd}{2,3}(..)/8
253 \x{660}\x{661}\x{662}ABC
254
255 /\p{Nd}{2,3}?(..)/8
256 \x{660}\x{661}\x{662}ABC
257
258 /\p{Nd}?(..)/8
259 \x{660}\x{661}\x{662}ABC
260
261 /\p{Nd}??(..)/8
262 \x{660}\x{661}\x{662}ABC
263
264 /\p{Nd}*+(..)/8
265 \x{660}\x{661}\x{662}ABC
266
267 /\p{Nd}*+(...)/8
268 \x{660}\x{661}\x{662}ABC
269
270 /\p{Nd}*+(....)/8
271 ** Failers
272 \x{660}\x{661}\x{662}ABC
273
274 /(?<=A\p{Nd})XYZ/8
275 A2XYZ
276 123A5XYZPQR
277 ABA\x{660}XYZpqr
278 ** Failers
279 AXYZ
280 XYZ
281
282 /(?<!\pL)XYZ/8
283 1XYZ
284 AB=XYZ..
285 XYZ
286 ** Failers
287 WXYZ
288
289 /[\P{Nd}]+/8
290 abcd
291 ** Failers
292 1234
293
294 /\D+/8
295 11111111111111111111111111111111111111111111111111111111111111111111111
296 aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
297
298 /\P{Nd}+/8
299 11111111111111111111111111111111111111111111111111111111111111111111111
300 aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
301
302 /[\D]+/8
303 11111111111111111111111111111111111111111111111111111111111111111111111
304 aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
305
306 /[\P{Nd}]+/8
307 11111111111111111111111111111111111111111111111111111111111111111111111
308 aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
309
310 /[\D\P{Nd}]+/8
311 11111111111111111111111111111111111111111111111111111111111111111111111
312 aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
313
314 /\pL/8
315 a
316 A
317
318 /\pL/8i
319 a
320 A
321
322 /\p{Lu}/8
323 A
324 aZ
325 ** Failers
326 abc
327
328 /\p{Ll}/8
329 a
330 Az
331 ** Failers
332 ABC
333
334 /A\x{391}\x{10427}\x{ff3a}\x{1fb0}/8
335 A\x{391}\x{10427}\x{ff3a}\x{1fb0}
336 ** Failers
337 a\x{391}\x{10427}\x{ff3a}\x{1fb0}
338 A\x{3b1}\x{10427}\x{ff3a}\x{1fb0}
339 A\x{391}\x{1044F}\x{ff3a}\x{1fb0}
340 A\x{391}\x{10427}\x{ff5a}\x{1fb0}
341 A\x{391}\x{10427}\x{ff3a}\x{1fb8}
342
343 /A\x{391}\x{10427}\x{ff3a}\x{1fb0}/8i
344 A\x{391}\x{10427}\x{ff3a}\x{1fb0}
345 a\x{391}\x{10427}\x{ff3a}\x{1fb0}
346 A\x{3b1}\x{10427}\x{ff3a}\x{1fb0}
347 A\x{391}\x{1044F}\x{ff3a}\x{1fb0}
348 A\x{391}\x{10427}\x{ff5a}\x{1fb0}
349 A\x{391}\x{10427}\x{ff3a}\x{1fb8}
350
351 /\x{391}+/8i
352 \x{391}\x{3b1}\x{3b1}\x{3b1}\x{391}
353
354 /\x{391}{3,5}(.)/8i
355 \x{391}\x{3b1}\x{3b1}\x{3b1}\x{391}X
356
357 /\x{391}{3,5}?(.)/8i
358 \x{391}\x{3b1}\x{3b1}\x{3b1}\x{391}X
359
360 /[\x{391}\x{ff3a}]/8i
361 \x{391}
362 \x{ff3a}
363 \x{3b1}
364 \x{ff5a}
365
366 /^[\X]/8
367 X123
368 *** Failers
369 AXYZ
370
371 /^(\X*)C/8
372 A\x{300}\x{301}\x{302}BCA\x{300}\x{301}
373 A\x{300}\x{301}\x{302}BCA\x{300}\x{301}C
374
375 /^(\X*?)C/8
376 A\x{300}\x{301}\x{302}BCA\x{300}\x{301}
377 A\x{300}\x{301}\x{302}BCA\x{300}\x{301}C
378
379 /^(\X*)(.)/8
380 A\x{300}\x{301}\x{302}BCA\x{300}\x{301}
381 A\x{300}\x{301}\x{302}BCA\x{300}\x{301}C
382
383 /^(\X*?)(.)/8
384 A\x{300}\x{301}\x{302}BCA\x{300}\x{301}
385 A\x{300}\x{301}\x{302}BCA\x{300}\x{301}C
386
387 /^\X(.)/8
388 *** Failers
389 A\x{300}\x{301}\x{302}
390
391 /^\X{2,3}(.)/8
392 A\x{300}\x{301}B\x{300}X
393 A\x{300}\x{301}B\x{300}C\x{300}\x{301}
394 A\x{300}\x{301}B\x{300}C\x{300}\x{301}X
395 A\x{300}\x{301}B\x{300}C\x{300}\x{301}DA\x{300}X
396
397 /^\X{2,3}?(.)/8
398 A\x{300}\x{301}B\x{300}X
399 A\x{300}\x{301}B\x{300}C\x{300}\x{301}
400 A\x{300}\x{301}B\x{300}C\x{300}\x{301}X
401 A\x{300}\x{301}B\x{300}C\x{300}\x{301}DA\x{300}X
402
403 /^\X/8
404 A
405 A\x{300}BC
406 A\x{300}\x{301}\x{302}BC
407 \x{300}
408
409 /^\p{Han}+/8
410 \x{2e81}\x{3007}\x{2f804}\x{31a0}
411 ** Failers
412 \x{2e7f}
413
414 /^\P{Katakana}+/8
415 \x{3105}
416 ** Failers
417 \x{30ff}
418
419 /^[\p{Arabic}]/8
420 \x{06e9}
421 \x{060b}
422 ** Failers
423 X\x{06e9}
424
425 /^[\P{Yi}]/8
426 \x{2f800}
427 ** Failers
428 \x{a014}
429 \x{a4c6}
430
431 /^\p{Any}X/8
432 AXYZ
433 \x{1234}XYZ
434 ** Failers
435 X
436
437 /^\P{Any}X/8
438 ** Failers
439 AX
440
441 /^\p{Any}?X/8
442 XYZ
443 AXYZ
444 \x{1234}XYZ
445 ** Failers
446 ABXYZ
447
448 /^\P{Any}?X/8
449 XYZ
450 ** Failers
451 AXYZ
452 \x{1234}XYZ
453 ABXYZ
454
455 /^\p{Any}+X/8
456 AXYZ
457 \x{1234}XYZ
458 A\x{1234}XYZ
459 ** Failers
460 XYZ
461
462 /^\P{Any}+X/8
463 ** Failers
464 AXYZ
465 \x{1234}XYZ
466 A\x{1234}XYZ
467 XYZ
468
469 /^\p{Any}*X/8
470 XYZ
471 AXYZ
472 \x{1234}XYZ
473 A\x{1234}XYZ
474 ** Failers
475
476 /^\P{Any}*X/8
477 XYZ
478 ** Failers
479 AXYZ
480 \x{1234}XYZ
481 A\x{1234}XYZ
482
483 /^[\p{Any}]X/8
484 AXYZ
485 \x{1234}XYZ
486 ** Failers
487 X
488
489 /^[\P{Any}]X/8
490 ** Failers
491 AX
492
493 /^[\p{Any}]?X/8
494 XYZ
495 AXYZ
496 \x{1234}XYZ
497 ** Failers
498 ABXYZ
499
500 /^[\P{Any}]?X/8
501 XYZ
502 ** Failers
503 AXYZ
504 \x{1234}XYZ
505 ABXYZ
506
507 /^[\p{Any}]+X/8
508 AXYZ
509 \x{1234}XYZ
510 A\x{1234}XYZ
511 ** Failers
512 XYZ
513
514 /^[\P{Any}]+X/8
515 ** Failers
516 AXYZ
517 \x{1234}XYZ
518 A\x{1234}XYZ
519 XYZ
520
521 /^[\p{Any}]*X/8
522 XYZ
523 AXYZ
524 \x{1234}XYZ
525 A\x{1234}XYZ
526 ** Failers
527
528 /^[\P{Any}]*X/8
529 XYZ
530 ** Failers
531 AXYZ
532 \x{1234}XYZ
533 A\x{1234}XYZ
534
535 /^\p{Any}{3,5}?/8
536 abcdefgh
537 \x{1234}\n\r\x{3456}xyz
538
539 /^\p{Any}{3,5}/8
540 abcdefgh
541 \x{1234}\n\r\x{3456}xyz
542
543 /^\P{Any}{3,5}?/8
544 ** Failers
545 abcdefgh
546 \x{1234}\n\r\x{3456}xyz
547
548 /^\p{L&}X/8
549 AXY
550 aXY
551 \x{1c5}XY
552 ** Failers
553 \x{1bb}XY
554 \x{2b0}XY
555 !XY
556
557 /^[\p{L&}]X/8
558 AXY
559 aXY
560 \x{1c5}XY
561 ** Failers
562 \x{1bb}XY
563 \x{2b0}XY
564 !XY
565
566 /^\p{L&}+X/8
567 AXY
568 aXY
569 AbcdeXyz
570 \x{1c5}AbXY
571 abcDEXypqreXlmn
572 ** Failers
573 \x{1bb}XY
574 \x{2b0}XY
575 !XY
576
577 /^[\p{L&}]+X/8
578 AXY
579 aXY
580 AbcdeXyz
581 \x{1c5}AbXY
582 abcDEXypqreXlmn
583 ** Failers
584 \x{1bb}XY
585 \x{2b0}XY
586 !XY
587
588 /^\p{L&}+?X/8
589 AXY
590 aXY
591 AbcdeXyz
592 \x{1c5}AbXY
593 abcDEXypqreXlmn
594 ** Failers
595 \x{1bb}XY
596 \x{2b0}XY
597 !XY
598
599 /^[\p{L&}]+?X/8
600 AXY
601 aXY
602 AbcdeXyz
603 \x{1c5}AbXY
604 abcDEXypqreXlmn
605 ** Failers
606 \x{1bb}XY
607 \x{2b0}XY
608 !XY
609
610 /^\P{L&}X/8
611 !XY
612 \x{1bb}XY
613 \x{2b0}XY
614 ** Failers
615 \x{1c5}XY
616 AXY
617
618 /^[\P{L&}]X/8
619 !XY
620 \x{1bb}XY
621 \x{2b0}XY
622 ** Failers
623 \x{1c5}XY
624 AXY
625
626 /^(\p{Z}[^\p{C}\p{Z}]+)*$/
627 \xa0!
628
629 /^[\pL](abc)(?1)/
630 AabcabcYZ
631
632 /([\pL]=(abc))*X/
633 L=abcX
634
635 /^\p{Balinese}\p{Cuneiform}\p{Nko}\p{Phags_Pa}\p{Phoenician}/8
636 \x{1b00}\x{12000}\x{7c0}\x{a840}\x{10900}
637
638 /Check property support in non-UTF-8 mode/
639
640 /\p{L}{4}/
641 123abcdefg
642 123abc\xc4\xc5zz
643
644 /\X{1,3}\d/
645 \x8aBCD
646
647 /\X?\d/
648 \x8aBCD
649
650 /\P{L}?\d/
651 \x8aBCD
652
653 /[\PPP\x8a]{1,}\x80/
654 A\x80
655
656 /^[\p{Arabic}]/8
657 \x{604}
658 \x{60e}
659 \x{656}
660 \x{657}
661 \x{658}
662 \x{659}
663 \x{65a}
664 \x{65b}
665 \x{65c}
666 \x{65d}
667 \x{65e}
668 \x{65f}
669 \x{66a}
670 \x{6e9}
671 \x{6ef}
672 \x{6fa}
673 ** Failers
674 \x{650}
675 \x{651}
676 \x{652}
677 \x{653}
678 \x{654}
679 \x{655}
680
681 /^\p{Cyrillic}/8
682 \x{1d2b}
683
684 /^\p{Common}/8
685 \x{589}
686 \x{60c}
687 \x{61f}
688 \x{964}
689 \x{965}
690
691 /^\p{Inherited}/8
692 \x{64b}
693 \x{654}
694 \x{655}
695 \x{200c}
696 ** Failers
697 \x{64a}
698 \x{656}
699
700 /^\p{Shavian}/8
701 \x{10450}
702 \x{1047f}
703
704 /^\p{Deseret}/8
705 \x{10400}
706 \x{1044f}
707
708 /^\p{Osmanya}/8
709 \x{10480}
710 \x{1049d}
711 \x{104a0}
712 \x{104a9}
713 ** Failers
714 \x{1049e}
715 \x{1049f}
716 \x{104aa}
717
718 /\p{Carian}\p{Cham}\p{Kayah_Li}\p{Lepcha}\p{Lycian}\p{Lydian}\p{Ol_Chiki}\p{Rejang}\p{Saurashtra}\p{Sundanese}\p{Vai}/8
719 \x{102A4}\x{AA52}\x{A91D}\x{1C46}\x{10283}\x{1092E}\x{1C6B}\x{A93B}\x{A8BF}\x{1BA0}\x{A50A}====
720
721 /\x{a77d}\x{1d79}/8i
722 \x{a77d}\x{1d79}
723 \x{1d79}\x{a77d}
724
725 /\x{a77d}\x{1d79}/8
726 \x{a77d}\x{1d79}
727 ** Failers
728 \x{1d79}\x{a77d}
729
730 /(A)\1/8i
731 AA
732 Aa
733 aa
734 aA
735
736 /(\x{10a})\1/8i
737 \x{10a}\x{10a}
738 \x{10a}\x{10b}
739 \x{10b}\x{10b}
740 \x{10b}\x{10a}
741
742 /The next two tests are for property support in non-UTF-8 mode/
743
744 /(?:\p{Lu}|\x20)+/
745 \x41\x20\x50\xC2\x54\xC9\x20\x54\x4F\x44\x41\x59
746
747 /[\p{Lu}\x20]+/
748 \x41\x20\x50\xC2\x54\xC9\x20\x54\x4F\x44\x41\x59
749
750 /\p{Avestan}\p{Bamum}\p{Egyptian_Hieroglyphs}\p{Imperial_Aramaic}\p{Inscriptional_Pahlavi}\p{Inscriptional_Parthian}\p{Javanese}\p{Kaithi}\p{Lisu}\p{Meetei_Mayek}\p{Old_South_Arabian}\p{Old_Turkic}\p{Samaritan}\p{Tai_Tham}\p{Tai_Viet}/8
751 \x{10b00}\x{a6ef}\x{13007}\x{10857}\x{10b78}\x{10b58}\x{a980}\x{110c1}\x{a4ff}\x{abc0}\x{10a7d}\x{10c48}\x{0800}\x{1aad}\x{aac0}
752
753 /^\w+/8W
754 Az_\x{aa}\x{c0}\x{1c5}\x{2b0}\x{3b6}\x{1d7c9}\x{2fa1d}1\x{660}\x{bef}\x{16ee}
755
756 /^[[:xdigit:]]*/8W
757 1a\x{660}\x{bef}\x{16ee}
758
759 /^\d+/8W
760 1\x{660}\x{bef}\x{16ee}
761
762 /^[[:digit:]]+/8W
763 1\x{660}\x{bef}\x{16ee}
764
765 /^>\s+/8W
766 >\x{20}\x{a0}\x{1680}\x{2028}\x{2029}\x{202f}\x{9}\x{b}
767
768 /^>\pZ+/8W
769 >\x{20}\x{a0}\x{1680}\x{2028}\x{2029}\x{202f}\x{9}\x{b}
770
771 /^>[[:space:]]*/8W
772 >\x{20}\x{a0}\x{1680}\x{2028}\x{2029}\x{202f}\x{9}\x{b}
773
774 /^>[[:blank:]]*/8W
775 >\x{20}\x{a0}\x{1680}\x{180e}\x{2000}\x{202f}\x{9}\x{b}\x{2028}
776
777 /^[[:alpha:]]*/8W
778 Az\x{aa}\x{c0}\x{1c5}\x{2b0}\x{3b6}\x{1d7c9}\x{2fa1d}
779
780 /^[[:alnum:]]*/8W
781 Az\x{aa}\x{c0}\x{1c5}\x{2b0}\x{3b6}\x{1d7c9}\x{2fa1d}1\x{660}\x{bef}\x{16ee}
782
783 /^[[:cntrl:]]*/8W
784 \x{0}\x{09}\x{1f}\x{7f}\x{9f}
785
786 /^[[:graph:]]*/8W
787 A\x{a1}\x{a0}
788
789 /^[[:print:]]*/8W
790 A z\x{a0}\x{a1}
791
792 /^[[:punct:]]*/8W
793 .+\x{a1}\x{a0}
794
795 /\p{Zs}*?\R/
796 ** Failers
797 a\xFCb
798
799 /\p{Zs}*\R/
800 ** Failers
801 a\xFCb
802
803 /ⱥ/8i
804
805 Ⱥx
806 Ⱥ
807
808 /[ⱥ]/8i
809
810 Ⱥx
811 Ⱥ
812
813 /Ⱥ/8i
814 Ⱥ
815
816
817 /-- These are tests for extended grapheme clusters --/
818
819 /^\X/8+
820 G\x{34e}\x{34e}X
821 \x{34e}\x{34e}X
822 \x04X
823 \x{1100}X
824 \x{1100}\x{34e}X
825 \x{1b04}\x{1b04}X
826 *These match up to the roman letters
827 \x{1111}\x{1111}L,L
828 \x{1111}\x{1111}\x{1169}L,L,V
829 \x{1111}\x{ae4c}L, LV
830 \x{1111}\x{ad89}L, LVT
831 \x{1111}\x{ae4c}\x{1169}L, LV, V
832 \x{1111}\x{ae4c}\x{1169}\x{1169}L, LV, V, V
833 \x{1111}\x{ae4c}\x{1169}\x{11fe}L, LV, V, T
834 \x{1111}\x{ad89}\x{11fe}L, LVT, T
835 \x{1111}\x{ad89}\x{11fe}\x{11fe}L, LVT, T, T
836 \x{ad89}\x{11fe}\x{11fe}LVT, T, T
837 *These match just the first codepoint (invalid sequence)
838 \x{1111}\x{11fe}L, T
839 \x{ae4c}\x{1111}LV, L
840 \x{ae4c}\x{ae4c}LV, LV
841 \x{ae4c}\x{ad89}LV, LVT
842 \x{1169}\x{1111}V, L
843 \x{1169}\x{ae4c}V, LV
844 \x{1169}\x{ad89}V, LVT
845 \x{ad89}\x{1111}LVT, L
846 \x{ad89}\x{1169}LVT, V
847 \x{ad89}\x{ae4c}LVT, LV
848 \x{ad89}\x{ad89}LVT, LVT
849 \x{11fe}\x{1111}T, L
850 \x{11fe}\x{1169}T, V
851 \x{11fe}\x{ae4c}T, LV
852 \x{11fe}\x{ad89}T, LVT
853 *Test extend and spacing mark
854 \x{1111}\x{ae4c}\x{0711}L, LV, extend
855 \x{1111}\x{ae4c}\x{1b04}L, LV, spacing mark
856 \x{1111}\x{ae4c}\x{1b04}\x{0711}\x{1b04}L, LV, spacing mark, extend, spacing mark
857 *Test CR, LF, and control
858 \x0d\x{0711}CR, extend
859 \x0d\x{1b04}CR, spacingmark
860 \x0a\x{0711}LF, extend
861 \x0a\x{1b04}LF, spacingmark
862 \x0b\x{0711}Control, extend
863 \x09\x{1b04}Control, spacingmark
864 *There are no Prepend characters, so we can't test Prepend, CR
865
866 /^(?>\X{2})X/8+
867 \x{1111}\x{ae4c}\x{1111}\x{ae4c}X
868
869 /^\X{2,4}X/8+
870 \x{1111}\x{ae4c}\x{1111}\x{ae4c}X
871 \x{1111}\x{ae4c}\x{1111}\x{ae4c}\x{1111}\x{ae4c}X
872 \x{1111}\x{ae4c}\x{1111}\x{ae4c}\x{1111}\x{ae4c}\x{1111}\x{ae4c}X
873
874 /^\X{2,4}?X/8+
875 \x{1111}\x{ae4c}\x{1111}\x{ae4c}X
876 \x{1111}\x{ae4c}\x{1111}\x{ae4c}\x{1111}\x{ae4c}X
877 \x{1111}\x{ae4c}\x{1111}\x{ae4c}\x{1111}\x{ae4c}\x{1111}\x{ae4c}X
878
879 /\X*Z/8Y
880 A\x{300}
881
882 /\X*(.)/8Y
883 A\x{1111}\x{ae4c}\x{1169}
884
885 /\X?abc/8Y
886 \xff\x7f\x00\x00\x03\x00\x41\xcc\x80\x41\x{300}\x61\x62\x63\x00\>06\?
887
888 /-- --/
889
890 /\x{1e9e}+/8i
891 \x{1e9e}\x{00df}
892
893 /[z\x{1e9e}]+/8i
894 \x{1e9e}\x{00df}
895
896 /\x{00df}+/8i
897 \x{1e9e}\x{00df}
898
899 /[z\x{00df}]+/8i
900 \x{1e9e}\x{00df}
901
902 /\x{1f88}+/8i
903 \x{1f88}\x{1f80}
904
905 /[z\x{1f88}]+/8i
906 \x{1f88}\x{1f80}
907
908 /-- Characters with more than one other case; test in classes --/
909
910 /[z\x{00b5}]+/8i
911 \x{00b5}\x{039c}\x{03bc}
912
913 /[z\x{039c}]+/8i
914 \x{00b5}\x{039c}\x{03bc}
915
916 /[z\x{03bc}]+/8i
917 \x{00b5}\x{039c}\x{03bc}
918
919 /[z\x{00c5}]+/8i
920 \x{00c5}\x{00e5}\x{212b}
921
922 /[z\x{00e5}]+/8i
923 \x{00c5}\x{00e5}\x{212b}
924
925 /[z\x{212b}]+/8i
926 \x{00c5}\x{00e5}\x{212b}
927
928 /[z\x{01c4}]+/8i
929 \x{01c4}\x{01c5}\x{01c6}
930
931 /[z\x{01c5}]+/8i
932 \x{01c4}\x{01c5}\x{01c6}
933
934 /[z\x{01c6}]+/8i
935 \x{01c4}\x{01c5}\x{01c6}
936
937 /[z\x{01c7}]+/8i
938 \x{01c7}\x{01c8}\x{01c9}
939
940 /[z\x{01c8}]+/8i
941 \x{01c7}\x{01c8}\x{01c9}
942
943 /[z\x{01c9}]+/8i
944 \x{01c7}\x{01c8}\x{01c9}
945
946 /[z\x{01ca}]+/8i
947 \x{01ca}\x{01cb}\x{01cc}
948
949 /[z\x{01cb}]+/8i
950 \x{01ca}\x{01cb}\x{01cc}
951
952 /[z\x{01cc}]+/8i
953 \x{01ca}\x{01cb}\x{01cc}
954
955 /[z\x{01f1}]+/8i
956 \x{01f1}\x{01f2}\x{01f3}
957
958 /[z\x{01f2}]+/8i
959 \x{01f1}\x{01f2}\x{01f3}
960
961 /[z\x{01f3}]+/8i
962 \x{01f1}\x{01f2}\x{01f3}
963
964 /[z\x{0345}]+/8i
965 \x{0345}\x{0399}\x{03b9}\x{1fbe}
966
967 /[z\x{0399}]+/8i
968 \x{0345}\x{0399}\x{03b9}\x{1fbe}
969
970 /[z\x{03b9}]+/8i
971 \x{0345}\x{0399}\x{03b9}\x{1fbe}
972
973 /[z\x{1fbe}]+/8i
974 \x{0345}\x{0399}\x{03b9}\x{1fbe}
975
976 /[z\x{0392}]+/8i
977 \x{0392}\x{03b2}\x{03d0}
978
979 /[z\x{03b2}]+/8i
980 \x{0392}\x{03b2}\x{03d0}
981
982 /[z\x{03d0}]+/8i
983 \x{0392}\x{03b2}\x{03d0}
984
985 /[z\x{0395}]+/8i
986 \x{0395}\x{03b5}\x{03f5}
987
988 /[z\x{03b5}]+/8i
989 \x{0395}\x{03b5}\x{03f5}
990
991 /[z\x{03f5}]+/8i
992 \x{0395}\x{03b5}\x{03f5}
993
994 /[z\x{0398}]+/8i
995 \x{0398}\x{03b8}\x{03d1}\x{03f4}
996
997 /[z\x{03b8}]+/8i
998 \x{0398}\x{03b8}\x{03d1}\x{03f4}
999
1000 /[z\x{03d1}]+/8i
1001 \x{0398}\x{03b8}\x{03d1}\x{03f4}
1002
1003 /[z\x{03f4}]+/8i
1004 \x{0398}\x{03b8}\x{03d1}\x{03f4}
1005
1006 /[z\x{039a}]+/8i
1007 \x{039a}\x{03ba}\x{03f0}
1008
1009 /[z\x{03ba}]+/8i
1010 \x{039a}\x{03ba}\x{03f0}
1011
1012 /[z\x{03f0}]+/8i
1013 \x{039a}\x{03ba}\x{03f0}
1014
1015 /[z\x{03a0}]+/8i
1016 \x{03a0}\x{03c0}\x{03d6}
1017
1018 /[z\x{03c0}]+/8i
1019 \x{03a0}\x{03c0}\x{03d6}
1020
1021 /[z\x{03d6}]+/8i
1022 \x{03a0}\x{03c0}\x{03d6}
1023
1024 /[z\x{03a1}]+/8i
1025 \x{03a1}\x{03c1}\x{03f1}
1026
1027 /[z\x{03c1}]+/8i
1028 \x{03a1}\x{03c1}\x{03f1}
1029
1030 /[z\x{03f1}]+/8i
1031 \x{03a1}\x{03c1}\x{03f1}
1032
1033 /[z\x{03a3}]+/8i
1034 \x{03A3}\x{03C2}\x{03C3}
1035
1036 /[z\x{03c2}]+/8i
1037 \x{03A3}\x{03C2}\x{03C3}
1038
1039 /[z\x{03c3}]+/8i
1040 \x{03A3}\x{03C2}\x{03C3}
1041
1042 /[z\x{03a6}]+/8i
1043 \x{03a6}\x{03c6}\x{03d5}
1044
1045 /[z\x{03c6}]+/8i
1046 \x{03a6}\x{03c6}\x{03d5}
1047
1048 /[z\x{03d5}]+/8i
1049 \x{03a6}\x{03c6}\x{03d5}
1050
1051 /[z\x{03c9}]+/8i
1052 \x{03c9}\x{03a9}\x{2126}
1053
1054 /[z\x{03a9}]+/8i
1055 \x{03c9}\x{03a9}\x{2126}
1056
1057 /[z\x{2126}]+/8i
1058 \x{03c9}\x{03a9}\x{2126}
1059
1060 /[z\x{1e60}]+/8i
1061 \x{1e60}\x{1e61}\x{1e9b}
1062
1063 /[z\x{1e61}]+/8i
1064 \x{1e60}\x{1e61}\x{1e9b}
1065
1066 /[z\x{1e9b}]+/8i
1067 \x{1e60}\x{1e61}\x{1e9b}
1068
1069 /-- Perl 5.12.4 gets these wrong, but 5.15.3 is OK --/
1070
1071 /[z\x{004b}]+/8i
1072 \x{004b}\x{006b}\x{212a}
1073
1074 /[z\x{006b}]+/8i
1075 \x{004b}\x{006b}\x{212a}
1076
1077 /[z\x{212a}]+/8i
1078 \x{004b}\x{006b}\x{212a}
1079
1080 /[z\x{0053}]+/8i
1081 \x{0053}\x{0073}\x{017f}
1082
1083 /[z\x{0073}]+/8i
1084 \x{0053}\x{0073}\x{017f}
1085
1086 /[z\x{017f}]+/8i
1087 \x{0053}\x{0073}\x{017f}
1088
1089 /-- --/
1090
1091 /(ΣΆΜΟΣ) \1/8i
1092 ΣΆΜΟΣ ΣΆΜΟΣ
1093 ΣΆΜΟΣ σάμος
1094 σάμος σάμος
1095 σάμος σάμοσ
1096 σάμος ΣΆΜΟΣ
1097
1098 /(σάμος) \1/8i
1099 ΣΆΜΟΣ ΣΆΜΟΣ
1100 ΣΆΜΟΣ σάμος
1101 σάμος σάμος
1102 σάμος σάμοσ
1103 σάμος ΣΆΜΟΣ
1104
1105 /(ΣΆΜΟΣ) \1*/8i
1106 ΣΆΜΟΣ\x20
1107 ΣΆΜΟΣ ΣΆΜΟΣσάμοςσάμος
1108
1109 /-- Perl matches these --/
1110
1111 /\x{00b5}+/8i
1112 \x{00b5}\x{039c}\x{03bc}
1113
1114 /\x{039c}+/8i
1115 \x{00b5}\x{039c}\x{03bc}
1116
1117 /\x{03bc}+/8i
1118 \x{00b5}\x{039c}\x{03bc}
1119
1120
1121 /\x{00c5}+/8i
1122 \x{00c5}\x{00e5}\x{212b}
1123
1124 /\x{00e5}+/8i
1125 \x{00c5}\x{00e5}\x{212b}
1126
1127 /\x{212b}+/8i
1128 \x{00c5}\x{00e5}\x{212b}
1129
1130
1131 /\x{01c4}+/8i
1132 \x{01c4}\x{01c5}\x{01c6}
1133
1134 /\x{01c5}+/8i
1135 \x{01c4}\x{01c5}\x{01c6}
1136
1137 /\x{01c6}+/8i
1138 \x{01c4}\x{01c5}\x{01c6}
1139
1140
1141 /\x{01c7}+/8i
1142 \x{01c7}\x{01c8}\x{01c9}
1143
1144 /\x{01c8}+/8i
1145 \x{01c7}\x{01c8}\x{01c9}
1146
1147 /\x{01c9}+/8i
1148 \x{01c7}\x{01c8}\x{01c9}
1149
1150
1151 /\x{01ca}+/8i
1152 \x{01ca}\x{01cb}\x{01cc}
1153
1154 /\x{01cb}+/8i
1155 \x{01ca}\x{01cb}\x{01cc}
1156
1157 /\x{01cc}+/8i
1158 \x{01ca}\x{01cb}\x{01cc}
1159
1160
1161 /\x{01f1}+/8i
1162 \x{01f1}\x{01f2}\x{01f3}
1163
1164 /\x{01f2}+/8i
1165 \x{01f1}\x{01f2}\x{01f3}
1166
1167 /\x{01f3}+/8i
1168 \x{01f1}\x{01f2}\x{01f3}
1169
1170
1171 /\x{0345}+/8i
1172 \x{0345}\x{0399}\x{03b9}\x{1fbe}
1173
1174 /\x{0399}+/8i
1175 \x{0345}\x{0399}\x{03b9}\x{1fbe}
1176
1177 /\x{03b9}+/8i
1178 \x{0345}\x{0399}\x{03b9}\x{1fbe}
1179
1180 /\x{1fbe}+/8i
1181 \x{0345}\x{0399}\x{03b9}\x{1fbe}
1182
1183
1184 /\x{0392}+/8i
1185 \x{0392}\x{03b2}\x{03d0}
1186
1187 /\x{03b2}+/8i
1188 \x{0392}\x{03b2}\x{03d0}
1189
1190 /\x{03d0}+/8i
1191 \x{0392}\x{03b2}\x{03d0}
1192
1193
1194 /\x{0395}+/8i
1195 \x{0395}\x{03b5}\x{03f5}
1196
1197 /\x{03b5}+/8i
1198 \x{0395}\x{03b5}\x{03f5}
1199
1200 /\x{03f5}+/8i
1201 \x{0395}\x{03b5}\x{03f5}
1202
1203
1204 /\x{0398}+/8i
1205 \x{0398}\x{03b8}\x{03d1}\x{03f4}
1206
1207 /\x{03b8}+/8i
1208 \x{0398}\x{03b8}\x{03d1}\x{03f4}
1209
1210 /\x{03d1}+/8i
1211 \x{0398}\x{03b8}\x{03d1}\x{03f4}
1212
1213 /\x{03f4}+/8i
1214 \x{0398}\x{03b8}\x{03d1}\x{03f4}
1215
1216
1217 /\x{039a}+/8i
1218 \x{039a}\x{03ba}\x{03f0}
1219
1220 /\x{03ba}+/8i
1221 \x{039a}\x{03ba}\x{03f0}
1222
1223 /\x{03f0}+/8i
1224 \x{039a}\x{03ba}\x{03f0}
1225
1226
1227 /\x{03a0}+/8i
1228 \x{03a0}\x{03c0}\x{03d6}
1229
1230 /\x{03c0}+/8i
1231 \x{03a0}\x{03c0}\x{03d6}
1232
1233 /\x{03d6}+/8i
1234 \x{03a0}\x{03c0}\x{03d6}
1235
1236
1237 /\x{03a1}+/8i
1238 \x{03a1}\x{03c1}\x{03f1}
1239
1240 /\x{03c1}+/8i
1241 \x{03a1}\x{03c1}\x{03f1}
1242
1243 /\x{03f1}+/8i
1244 \x{03a1}\x{03c1}\x{03f1}
1245
1246
1247 /\x{03a3}+/8i
1248 \x{03A3}\x{03C2}\x{03C3}
1249
1250 /\x{03c2}+/8i
1251 \x{03A3}\x{03C2}\x{03C3}
1252
1253 /\x{03c3}+/8i
1254 \x{03A3}\x{03C2}\x{03C3}
1255
1256
1257 /\x{03a6}+/8i
1258 \x{03a6}\x{03c6}\x{03d5}
1259
1260 /\x{03c6}+/8i
1261 \x{03a6}\x{03c6}\x{03d5}
1262
1263 /\x{03d5}+/8i
1264 \x{03a6}\x{03c6}\x{03d5}
1265
1266
1267 /\x{03c9}+/8i
1268 \x{03c9}\x{03a9}\x{2126}
1269
1270 /\x{03a9}+/8i
1271 \x{03c9}\x{03a9}\x{2126}
1272
1273 /\x{2126}+/8i
1274 \x{03c9}\x{03a9}\x{2126}
1275
1276
1277 /\x{1e60}+/8i
1278 \x{1e60}\x{1e61}\x{1e9b}
1279
1280 /\x{1e61}+/8i
1281 \x{1e60}\x{1e61}\x{1e9b}
1282
1283 /\x{1e9b}+/8i
1284 \x{1e60}\x{1e61}\x{1e9b}
1285
1286
1287 /\x{1e9e}+/8i
1288 \x{1e9e}\x{00df}
1289
1290 /\x{00df}+/8i
1291 \x{1e9e}\x{00df}
1292
1293
1294 /\x{1f88}+/8i
1295 \x{1f88}\x{1f80}
1296
1297 /\x{1f80}+/8i
1298 \x{1f88}\x{1f80}
1299
1300
1301 /-- Perl 5.12.4 gets these wrong, but 5.15.3 is OK --/
1302
1303 /\x{004b}+/8i
1304 \x{004b}\x{006b}\x{212a}
1305
1306 /\x{006b}+/8i
1307 \x{004b}\x{006b}\x{212a}
1308
1309 /\x{212a}+/8i
1310 \x{004b}\x{006b}\x{212a}
1311
1312
1313 /\x{0053}+/8i
1314 \x{0053}\x{0073}\x{017f}
1315
1316 /\x{0073}+/8i
1317 \x{0053}\x{0073}\x{017f}
1318
1319 /\x{017f}+/8i
1320 \x{0053}\x{0073}\x{017f}
1321
1322 /^\p{Any}*\d{4}/8
1323 1234
1324 123
1325
1326 /^\X*\w{4}/8
1327 1234
1328 123
1329
1330 /-- End of testinput6 --/

Properties

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

  ViewVC Help
Powered by ViewVC 1.1.5