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

Contents of /code/trunk/testdata/testinput6

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1384 - (show annotations)
Fri Oct 25 17:37:50 2013 UTC (7 years, 5 months ago) by zherczeg
File size: 21590 byte(s)
Error occurred while calculating annotation data.
Guard the call of check_char_prop since it does not exists when UCP is disabled.
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 \x{061c}
423 ** Failers
424 X\x{06e9}
425
426 /^[\P{Yi}]/8
427 \x{2f800}
428 ** Failers
429 \x{a014}
430 \x{a4c6}
431
432 /^\p{Any}X/8
433 AXYZ
434 \x{1234}XYZ
435 ** Failers
436 X
437
438 /^\P{Any}X/8
439 ** Failers
440 AX
441
442 /^\p{Any}?X/8
443 XYZ
444 AXYZ
445 \x{1234}XYZ
446 ** Failers
447 ABXYZ
448
449 /^\P{Any}?X/8
450 XYZ
451 ** Failers
452 AXYZ
453 \x{1234}XYZ
454 ABXYZ
455
456 /^\p{Any}+X/8
457 AXYZ
458 \x{1234}XYZ
459 A\x{1234}XYZ
460 ** Failers
461 XYZ
462
463 /^\P{Any}+X/8
464 ** Failers
465 AXYZ
466 \x{1234}XYZ
467 A\x{1234}XYZ
468 XYZ
469
470 /^\p{Any}*X/8
471 XYZ
472 AXYZ
473 \x{1234}XYZ
474 A\x{1234}XYZ
475 ** Failers
476
477 /^\P{Any}*X/8
478 XYZ
479 ** Failers
480 AXYZ
481 \x{1234}XYZ
482 A\x{1234}XYZ
483
484 /^[\p{Any}]X/8
485 AXYZ
486 \x{1234}XYZ
487 ** Failers
488 X
489
490 /^[\P{Any}]X/8
491 ** Failers
492 AX
493
494 /^[\p{Any}]?X/8
495 XYZ
496 AXYZ
497 \x{1234}XYZ
498 ** Failers
499 ABXYZ
500
501 /^[\P{Any}]?X/8
502 XYZ
503 ** Failers
504 AXYZ
505 \x{1234}XYZ
506 ABXYZ
507
508 /^[\p{Any}]+X/8
509 AXYZ
510 \x{1234}XYZ
511 A\x{1234}XYZ
512 ** Failers
513 XYZ
514
515 /^[\P{Any}]+X/8
516 ** Failers
517 AXYZ
518 \x{1234}XYZ
519 A\x{1234}XYZ
520 XYZ
521
522 /^[\p{Any}]*X/8
523 XYZ
524 AXYZ
525 \x{1234}XYZ
526 A\x{1234}XYZ
527 ** Failers
528
529 /^[\P{Any}]*X/8
530 XYZ
531 ** Failers
532 AXYZ
533 \x{1234}XYZ
534 A\x{1234}XYZ
535
536 /^\p{Any}{3,5}?/8
537 abcdefgh
538 \x{1234}\n\r\x{3456}xyz
539
540 /^\p{Any}{3,5}/8
541 abcdefgh
542 \x{1234}\n\r\x{3456}xyz
543
544 /^\P{Any}{3,5}?/8
545 ** Failers
546 abcdefgh
547 \x{1234}\n\r\x{3456}xyz
548
549 /^\p{L&}X/8
550 AXY
551 aXY
552 \x{1c5}XY
553 ** Failers
554 \x{1bb}XY
555 \x{2b0}XY
556 !XY
557
558 /^[\p{L&}]X/8
559 AXY
560 aXY
561 \x{1c5}XY
562 ** Failers
563 \x{1bb}XY
564 \x{2b0}XY
565 !XY
566
567 /^\p{L&}+X/8
568 AXY
569 aXY
570 AbcdeXyz
571 \x{1c5}AbXY
572 abcDEXypqreXlmn
573 ** Failers
574 \x{1bb}XY
575 \x{2b0}XY
576 !XY
577
578 /^[\p{L&}]+X/8
579 AXY
580 aXY
581 AbcdeXyz
582 \x{1c5}AbXY
583 abcDEXypqreXlmn
584 ** Failers
585 \x{1bb}XY
586 \x{2b0}XY
587 !XY
588
589 /^\p{L&}+?X/8
590 AXY
591 aXY
592 AbcdeXyz
593 \x{1c5}AbXY
594 abcDEXypqreXlmn
595 ** Failers
596 \x{1bb}XY
597 \x{2b0}XY
598 !XY
599
600 /^[\p{L&}]+?X/8
601 AXY
602 aXY
603 AbcdeXyz
604 \x{1c5}AbXY
605 abcDEXypqreXlmn
606 ** Failers
607 \x{1bb}XY
608 \x{2b0}XY
609 !XY
610
611 /^\P{L&}X/8
612 !XY
613 \x{1bb}XY
614 \x{2b0}XY
615 ** Failers
616 \x{1c5}XY
617 AXY
618
619 /^[\P{L&}]X/8
620 !XY
621 \x{1bb}XY
622 \x{2b0}XY
623 ** Failers
624 \x{1c5}XY
625 AXY
626
627 /^(\p{Z}[^\p{C}\p{Z}]+)*$/
628 \xa0!
629
630 /^[\pL](abc)(?1)/
631 AabcabcYZ
632
633 /([\pL]=(abc))*X/
634 L=abcX
635
636 /^\p{Balinese}\p{Cuneiform}\p{Nko}\p{Phags_Pa}\p{Phoenician}/8
637 \x{1b00}\x{12000}\x{7c0}\x{a840}\x{10900}
638
639 /Check property support in non-UTF-8 mode/
640
641 /\p{L}{4}/
642 123abcdefg
643 123abc\xc4\xc5zz
644
645 /\X{1,3}\d/
646 \x8aBCD
647
648 /\X?\d/
649 \x8aBCD
650
651 /\P{L}?\d/
652 \x8aBCD
653
654 /[\PPP\x8a]{1,}\x80/
655 A\x80
656
657 /^[\p{Arabic}]/8
658 \x{604}
659 \x{60e}
660 \x{656}
661 \x{657}
662 \x{658}
663 \x{659}
664 \x{65a}
665 \x{65b}
666 \x{65c}
667 \x{65d}
668 \x{65e}
669 \x{65f}
670 \x{66a}
671 \x{6e9}
672 \x{6ef}
673 \x{6fa}
674 ** Failers
675 \x{650}
676 \x{651}
677 \x{652}
678 \x{653}
679 \x{654}
680 \x{655}
681
682 /^\p{Cyrillic}/8
683 \x{1d2b}
684
685 /^\p{Common}/8
686 \x{589}
687 \x{60c}
688 \x{61f}
689 \x{964}
690 \x{965}
691
692 /^\p{Inherited}/8
693 \x{64b}
694 \x{654}
695 \x{655}
696 \x{200c}
697 ** Failers
698 \x{64a}
699 \x{656}
700
701 /^\p{Shavian}/8
702 \x{10450}
703 \x{1047f}
704
705 /^\p{Deseret}/8
706 \x{10400}
707 \x{1044f}
708
709 /^\p{Osmanya}/8
710 \x{10480}
711 \x{1049d}
712 \x{104a0}
713 \x{104a9}
714 ** Failers
715 \x{1049e}
716 \x{1049f}
717 \x{104aa}
718
719 /\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
720 \x{102A4}\x{AA52}\x{A91D}\x{1C46}\x{10283}\x{1092E}\x{1C6B}\x{A93B}\x{A8BF}\x{1BA0}\x{A50A}====
721
722 /\x{a77d}\x{1d79}/8i
723 \x{a77d}\x{1d79}
724 \x{1d79}\x{a77d}
725
726 /\x{a77d}\x{1d79}/8
727 \x{a77d}\x{1d79}
728 ** Failers
729 \x{1d79}\x{a77d}
730
731 /(A)\1/8i
732 AA
733 Aa
734 aa
735 aA
736
737 /(\x{10a})\1/8i
738 \x{10a}\x{10a}
739 \x{10a}\x{10b}
740 \x{10b}\x{10b}
741 \x{10b}\x{10a}
742
743 /The next two tests are for property support in non-UTF-8 mode/
744
745 /(?:\p{Lu}|\x20)+/
746 \x41\x20\x50\xC2\x54\xC9\x20\x54\x4F\x44\x41\x59
747
748 /[\p{Lu}\x20]+/
749 \x41\x20\x50\xC2\x54\xC9\x20\x54\x4F\x44\x41\x59
750
751 /\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
752 \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}
753
754 /^\w+/8W
755 Az_\x{aa}\x{c0}\x{1c5}\x{2b0}\x{3b6}\x{1d7c9}\x{2fa1d}1\x{660}\x{bef}\x{16ee}
756
757 /^[[:xdigit:]]*/8W
758 1a\x{660}\x{bef}\x{16ee}
759
760 /^\d+/8W
761 1\x{660}\x{bef}\x{16ee}
762
763 /^[[:digit:]]+/8W
764 1\x{660}\x{bef}\x{16ee}
765
766 /^>\s+/8W
767 >\x{20}\x{a0}\x{1680}\x{2028}\x{2029}\x{202f}\x{9}\x{b}
768
769 /^>\pZ+/8W
770 >\x{20}\x{a0}\x{1680}\x{2028}\x{2029}\x{202f}\x{9}\x{b}
771
772 /^>[[:space:]]*/8W
773 >\x{20}\x{a0}\x{1680}\x{2028}\x{2029}\x{202f}\x{9}\x{b}
774
775 /^>[[:blank:]]*/8W
776 >\x{20}\x{a0}\x{1680}\x{180e}\x{2000}\x{202f}\x{9}\x{b}\x{2028}
777
778 /^[[:alpha:]]*/8W
779 Az\x{aa}\x{c0}\x{1c5}\x{2b0}\x{3b6}\x{1d7c9}\x{2fa1d}
780
781 /^[[:alnum:]]*/8W
782 Az\x{aa}\x{c0}\x{1c5}\x{2b0}\x{3b6}\x{1d7c9}\x{2fa1d}1\x{660}\x{bef}\x{16ee}
783
784 /^[[:cntrl:]]*/8W
785 \x{0}\x{09}\x{1f}\x{7f}\x{9f}
786
787 /^[[:graph:]]*/8W
788 A\x{a1}\x{a0}
789
790 /^[[:print:]]*/8W
791 A z\x{a0}\x{a1}
792
793 /^[[:punct:]]*/8W
794 .+\x{a1}\x{a0}
795
796 /\p{Zs}*?\R/
797 ** Failers
798 a\xFCb
799
800 /\p{Zs}*\R/
801 ** Failers
802 a\xFCb
803
804 /ⱥ/8i
805
806 Ⱥx
807 Ⱥ
808
809 /[ⱥ]/8i
810
811 Ⱥx
812 Ⱥ
813
814 /Ⱥ/8i
815 Ⱥ
816
817
818 /-- These are tests for extended grapheme clusters --/
819
820 /^\X/8+
821 G\x{34e}\x{34e}X
822 \x{34e}\x{34e}X
823 \x04X
824 \x{1100}X
825 \x{1100}\x{34e}X
826 \x{1b04}\x{1b04}X
827 *These match up to the roman letters
828 \x{1111}\x{1111}L,L
829 \x{1111}\x{1111}\x{1169}L,L,V
830 \x{1111}\x{ae4c}L, LV
831 \x{1111}\x{ad89}L, LVT
832 \x{1111}\x{ae4c}\x{1169}L, LV, V
833 \x{1111}\x{ae4c}\x{1169}\x{1169}L, LV, V, V
834 \x{1111}\x{ae4c}\x{1169}\x{11fe}L, LV, V, T
835 \x{1111}\x{ad89}\x{11fe}L, LVT, T
836 \x{1111}\x{ad89}\x{11fe}\x{11fe}L, LVT, T, T
837 \x{ad89}\x{11fe}\x{11fe}LVT, T, T
838 *These match just the first codepoint (invalid sequence)
839 \x{1111}\x{11fe}L, T
840 \x{ae4c}\x{1111}LV, L
841 \x{ae4c}\x{ae4c}LV, LV
842 \x{ae4c}\x{ad89}LV, LVT
843 \x{1169}\x{1111}V, L
844 \x{1169}\x{ae4c}V, LV
845 \x{1169}\x{ad89}V, LVT
846 \x{ad89}\x{1111}LVT, L
847 \x{ad89}\x{1169}LVT, V
848 \x{ad89}\x{ae4c}LVT, LV
849 \x{ad89}\x{ad89}LVT, LVT
850 \x{11fe}\x{1111}T, L
851 \x{11fe}\x{1169}T, V
852 \x{11fe}\x{ae4c}T, LV
853 \x{11fe}\x{ad89}T, LVT
854 *Test extend and spacing mark
855 \x{1111}\x{ae4c}\x{0711}L, LV, extend
856 \x{1111}\x{ae4c}\x{1b04}L, LV, spacing mark
857 \x{1111}\x{ae4c}\x{1b04}\x{0711}\x{1b04}L, LV, spacing mark, extend, spacing mark
858 *Test CR, LF, and control
859 \x0d\x{0711}CR, extend
860 \x0d\x{1b04}CR, spacingmark
861 \x0a\x{0711}LF, extend
862 \x0a\x{1b04}LF, spacingmark
863 \x0b\x{0711}Control, extend
864 \x09\x{1b04}Control, spacingmark
865 *There are no Prepend characters, so we can't test Prepend, CR
866
867 /^(?>\X{2})X/8+
868 \x{1111}\x{ae4c}\x{1111}\x{ae4c}X
869
870 /^\X{2,4}X/8+
871 \x{1111}\x{ae4c}\x{1111}\x{ae4c}X
872 \x{1111}\x{ae4c}\x{1111}\x{ae4c}\x{1111}\x{ae4c}X
873 \x{1111}\x{ae4c}\x{1111}\x{ae4c}\x{1111}\x{ae4c}\x{1111}\x{ae4c}X
874
875 /^\X{2,4}?X/8+
876 \x{1111}\x{ae4c}\x{1111}\x{ae4c}X
877 \x{1111}\x{ae4c}\x{1111}\x{ae4c}\x{1111}\x{ae4c}X
878 \x{1111}\x{ae4c}\x{1111}\x{ae4c}\x{1111}\x{ae4c}\x{1111}\x{ae4c}X
879
880 /\X*Z/8Y
881 A\x{300}
882
883 /\X*(.)/8Y
884 A\x{1111}\x{ae4c}\x{1169}
885
886 /\X?abc/8Y
887 \xff\x7f\x00\x00\x03\x00\x41\xcc\x80\x41\x{300}\x61\x62\x63\x00\>06\?
888
889 /-- --/
890
891 /\x{1e9e}+/8i
892 \x{1e9e}\x{00df}
893
894 /[z\x{1e9e}]+/8i
895 \x{1e9e}\x{00df}
896
897 /\x{00df}+/8i
898 \x{1e9e}\x{00df}
899
900 /[z\x{00df}]+/8i
901 \x{1e9e}\x{00df}
902
903 /\x{1f88}+/8i
904 \x{1f88}\x{1f80}
905
906 /[z\x{1f88}]+/8i
907 \x{1f88}\x{1f80}
908
909 /-- Characters with more than one other case; test in classes --/
910
911 /[z\x{00b5}]+/8i
912 \x{00b5}\x{039c}\x{03bc}
913
914 /[z\x{039c}]+/8i
915 \x{00b5}\x{039c}\x{03bc}
916
917 /[z\x{03bc}]+/8i
918 \x{00b5}\x{039c}\x{03bc}
919
920 /[z\x{00c5}]+/8i
921 \x{00c5}\x{00e5}\x{212b}
922
923 /[z\x{00e5}]+/8i
924 \x{00c5}\x{00e5}\x{212b}
925
926 /[z\x{212b}]+/8i
927 \x{00c5}\x{00e5}\x{212b}
928
929 /[z\x{01c4}]+/8i
930 \x{01c4}\x{01c5}\x{01c6}
931
932 /[z\x{01c5}]+/8i
933 \x{01c4}\x{01c5}\x{01c6}
934
935 /[z\x{01c6}]+/8i
936 \x{01c4}\x{01c5}\x{01c6}
937
938 /[z\x{01c7}]+/8i
939 \x{01c7}\x{01c8}\x{01c9}
940
941 /[z\x{01c8}]+/8i
942 \x{01c7}\x{01c8}\x{01c9}
943
944 /[z\x{01c9}]+/8i
945 \x{01c7}\x{01c8}\x{01c9}
946
947 /[z\x{01ca}]+/8i
948 \x{01ca}\x{01cb}\x{01cc}
949
950 /[z\x{01cb}]+/8i
951 \x{01ca}\x{01cb}\x{01cc}
952
953 /[z\x{01cc}]+/8i
954 \x{01ca}\x{01cb}\x{01cc}
955
956 /[z\x{01f1}]+/8i
957 \x{01f1}\x{01f2}\x{01f3}
958
959 /[z\x{01f2}]+/8i
960 \x{01f1}\x{01f2}\x{01f3}
961
962 /[z\x{01f3}]+/8i
963 \x{01f1}\x{01f2}\x{01f3}
964
965 /[z\x{0345}]+/8i
966 \x{0345}\x{0399}\x{03b9}\x{1fbe}
967
968 /[z\x{0399}]+/8i
969 \x{0345}\x{0399}\x{03b9}\x{1fbe}
970
971 /[z\x{03b9}]+/8i
972 \x{0345}\x{0399}\x{03b9}\x{1fbe}
973
974 /[z\x{1fbe}]+/8i
975 \x{0345}\x{0399}\x{03b9}\x{1fbe}
976
977 /[z\x{0392}]+/8i
978 \x{0392}\x{03b2}\x{03d0}
979
980 /[z\x{03b2}]+/8i
981 \x{0392}\x{03b2}\x{03d0}
982
983 /[z\x{03d0}]+/8i
984 \x{0392}\x{03b2}\x{03d0}
985
986 /[z\x{0395}]+/8i
987 \x{0395}\x{03b5}\x{03f5}
988
989 /[z\x{03b5}]+/8i
990 \x{0395}\x{03b5}\x{03f5}
991
992 /[z\x{03f5}]+/8i
993 \x{0395}\x{03b5}\x{03f5}
994
995 /[z\x{0398}]+/8i
996 \x{0398}\x{03b8}\x{03d1}\x{03f4}
997
998 /[z\x{03b8}]+/8i
999 \x{0398}\x{03b8}\x{03d1}\x{03f4}
1000
1001 /[z\x{03d1}]+/8i
1002 \x{0398}\x{03b8}\x{03d1}\x{03f4}
1003
1004 /[z\x{03f4}]+/8i
1005 \x{0398}\x{03b8}\x{03d1}\x{03f4}
1006
1007 /[z\x{039a}]+/8i
1008 \x{039a}\x{03ba}\x{03f0}
1009
1010 /[z\x{03ba}]+/8i
1011 \x{039a}\x{03ba}\x{03f0}
1012
1013 /[z\x{03f0}]+/8i
1014 \x{039a}\x{03ba}\x{03f0}
1015
1016 /[z\x{03a0}]+/8i
1017 \x{03a0}\x{03c0}\x{03d6}
1018
1019 /[z\x{03c0}]+/8i
1020 \x{03a0}\x{03c0}\x{03d6}
1021
1022 /[z\x{03d6}]+/8i
1023 \x{03a0}\x{03c0}\x{03d6}
1024
1025 /[z\x{03a1}]+/8i
1026 \x{03a1}\x{03c1}\x{03f1}
1027
1028 /[z\x{03c1}]+/8i
1029 \x{03a1}\x{03c1}\x{03f1}
1030
1031 /[z\x{03f1}]+/8i
1032 \x{03a1}\x{03c1}\x{03f1}
1033
1034 /[z\x{03a3}]+/8i
1035 \x{03A3}\x{03C2}\x{03C3}
1036
1037 /[z\x{03c2}]+/8i
1038 \x{03A3}\x{03C2}\x{03C3}
1039
1040 /[z\x{03c3}]+/8i
1041 \x{03A3}\x{03C2}\x{03C3}
1042
1043 /[z\x{03a6}]+/8i
1044 \x{03a6}\x{03c6}\x{03d5}
1045
1046 /[z\x{03c6}]+/8i
1047 \x{03a6}\x{03c6}\x{03d5}
1048
1049 /[z\x{03d5}]+/8i
1050 \x{03a6}\x{03c6}\x{03d5}
1051
1052 /[z\x{03c9}]+/8i
1053 \x{03c9}\x{03a9}\x{2126}
1054
1055 /[z\x{03a9}]+/8i
1056 \x{03c9}\x{03a9}\x{2126}
1057
1058 /[z\x{2126}]+/8i
1059 \x{03c9}\x{03a9}\x{2126}
1060
1061 /[z\x{1e60}]+/8i
1062 \x{1e60}\x{1e61}\x{1e9b}
1063
1064 /[z\x{1e61}]+/8i
1065 \x{1e60}\x{1e61}\x{1e9b}
1066
1067 /[z\x{1e9b}]+/8i
1068 \x{1e60}\x{1e61}\x{1e9b}
1069
1070 /-- Perl 5.12.4 gets these wrong, but 5.15.3 is OK --/
1071
1072 /[z\x{004b}]+/8i
1073 \x{004b}\x{006b}\x{212a}
1074
1075 /[z\x{006b}]+/8i
1076 \x{004b}\x{006b}\x{212a}
1077
1078 /[z\x{212a}]+/8i
1079 \x{004b}\x{006b}\x{212a}
1080
1081 /[z\x{0053}]+/8i
1082 \x{0053}\x{0073}\x{017f}
1083
1084 /[z\x{0073}]+/8i
1085 \x{0053}\x{0073}\x{017f}
1086
1087 /[z\x{017f}]+/8i
1088 \x{0053}\x{0073}\x{017f}
1089
1090 /-- --/
1091
1092 /(ΣΆΜΟΣ) \1/8i
1093 ΣΆΜΟΣ ΣΆΜΟΣ
1094 ΣΆΜΟΣ σάμος
1095 σάμος σάμος
1096 σάμος σάμοσ
1097 σάμος ΣΆΜΟΣ
1098
1099 /(σάμος) \1/8i
1100 ΣΆΜΟΣ ΣΆΜΟΣ
1101 ΣΆΜΟΣ σάμος
1102 σάμος σάμος
1103 σάμος σάμοσ
1104 σάμος ΣΆΜΟΣ
1105
1106 /(ΣΆΜΟΣ) \1*/8i
1107 ΣΆΜΟΣ\x20
1108 ΣΆΜΟΣ ΣΆΜΟΣσάμοςσάμος
1109
1110 /-- Perl matches these --/
1111
1112 /\x{00b5}+/8i
1113 \x{00b5}\x{039c}\x{03bc}
1114
1115 /\x{039c}+/8i
1116 \x{00b5}\x{039c}\x{03bc}
1117
1118 /\x{03bc}+/8i
1119 \x{00b5}\x{039c}\x{03bc}
1120
1121
1122 /\x{00c5}+/8i
1123 \x{00c5}\x{00e5}\x{212b}
1124
1125 /\x{00e5}+/8i
1126 \x{00c5}\x{00e5}\x{212b}
1127
1128 /\x{212b}+/8i
1129 \x{00c5}\x{00e5}\x{212b}
1130
1131
1132 /\x{01c4}+/8i
1133 \x{01c4}\x{01c5}\x{01c6}
1134
1135 /\x{01c5}+/8i
1136 \x{01c4}\x{01c5}\x{01c6}
1137
1138 /\x{01c6}+/8i
1139 \x{01c4}\x{01c5}\x{01c6}
1140
1141
1142 /\x{01c7}+/8i
1143 \x{01c7}\x{01c8}\x{01c9}
1144
1145 /\x{01c8}+/8i
1146 \x{01c7}\x{01c8}\x{01c9}
1147
1148 /\x{01c9}+/8i
1149 \x{01c7}\x{01c8}\x{01c9}
1150
1151
1152 /\x{01ca}+/8i
1153 \x{01ca}\x{01cb}\x{01cc}
1154
1155 /\x{01cb}+/8i
1156 \x{01ca}\x{01cb}\x{01cc}
1157
1158 /\x{01cc}+/8i
1159 \x{01ca}\x{01cb}\x{01cc}
1160
1161
1162 /\x{01f1}+/8i
1163 \x{01f1}\x{01f2}\x{01f3}
1164
1165 /\x{01f2}+/8i
1166 \x{01f1}\x{01f2}\x{01f3}
1167
1168 /\x{01f3}+/8i
1169 \x{01f1}\x{01f2}\x{01f3}
1170
1171
1172 /\x{0345}+/8i
1173 \x{0345}\x{0399}\x{03b9}\x{1fbe}
1174
1175 /\x{0399}+/8i
1176 \x{0345}\x{0399}\x{03b9}\x{1fbe}
1177
1178 /\x{03b9}+/8i
1179 \x{0345}\x{0399}\x{03b9}\x{1fbe}
1180
1181 /\x{1fbe}+/8i
1182 \x{0345}\x{0399}\x{03b9}\x{1fbe}
1183
1184
1185 /\x{0392}+/8i
1186 \x{0392}\x{03b2}\x{03d0}
1187
1188 /\x{03b2}+/8i
1189 \x{0392}\x{03b2}\x{03d0}
1190
1191 /\x{03d0}+/8i
1192 \x{0392}\x{03b2}\x{03d0}
1193
1194
1195 /\x{0395}+/8i
1196 \x{0395}\x{03b5}\x{03f5}
1197
1198 /\x{03b5}+/8i
1199 \x{0395}\x{03b5}\x{03f5}
1200
1201 /\x{03f5}+/8i
1202 \x{0395}\x{03b5}\x{03f5}
1203
1204
1205 /\x{0398}+/8i
1206 \x{0398}\x{03b8}\x{03d1}\x{03f4}
1207
1208 /\x{03b8}+/8i
1209 \x{0398}\x{03b8}\x{03d1}\x{03f4}
1210
1211 /\x{03d1}+/8i
1212 \x{0398}\x{03b8}\x{03d1}\x{03f4}
1213
1214 /\x{03f4}+/8i
1215 \x{0398}\x{03b8}\x{03d1}\x{03f4}
1216
1217
1218 /\x{039a}+/8i
1219 \x{039a}\x{03ba}\x{03f0}
1220
1221 /\x{03ba}+/8i
1222 \x{039a}\x{03ba}\x{03f0}
1223
1224 /\x{03f0}+/8i
1225 \x{039a}\x{03ba}\x{03f0}
1226
1227
1228 /\x{03a0}+/8i
1229 \x{03a0}\x{03c0}\x{03d6}
1230
1231 /\x{03c0}+/8i
1232 \x{03a0}\x{03c0}\x{03d6}
1233
1234 /\x{03d6}+/8i
1235 \x{03a0}\x{03c0}\x{03d6}
1236
1237
1238 /\x{03a1}+/8i
1239 \x{03a1}\x{03c1}\x{03f1}
1240
1241 /\x{03c1}+/8i
1242 \x{03a1}\x{03c1}\x{03f1}
1243
1244 /\x{03f1}+/8i
1245 \x{03a1}\x{03c1}\x{03f1}
1246
1247
1248 /\x{03a3}+/8i
1249 \x{03A3}\x{03C2}\x{03C3}
1250
1251 /\x{03c2}+/8i
1252 \x{03A3}\x{03C2}\x{03C3}
1253
1254 /\x{03c3}+/8i
1255 \x{03A3}\x{03C2}\x{03C3}
1256
1257
1258 /\x{03a6}+/8i
1259 \x{03a6}\x{03c6}\x{03d5}
1260
1261 /\x{03c6}+/8i
1262 \x{03a6}\x{03c6}\x{03d5}
1263
1264 /\x{03d5}+/8i
1265 \x{03a6}\x{03c6}\x{03d5}
1266
1267
1268 /\x{03c9}+/8i
1269 \x{03c9}\x{03a9}\x{2126}
1270
1271 /\x{03a9}+/8i
1272 \x{03c9}\x{03a9}\x{2126}
1273
1274 /\x{2126}+/8i
1275 \x{03c9}\x{03a9}\x{2126}
1276
1277
1278 /\x{1e60}+/8i
1279 \x{1e60}\x{1e61}\x{1e9b}
1280
1281 /\x{1e61}+/8i
1282 \x{1e60}\x{1e61}\x{1e9b}
1283
1284 /\x{1e9b}+/8i
1285 \x{1e60}\x{1e61}\x{1e9b}
1286
1287
1288 /\x{1e9e}+/8i
1289 \x{1e9e}\x{00df}
1290
1291 /\x{00df}+/8i
1292 \x{1e9e}\x{00df}
1293
1294
1295 /\x{1f88}+/8i
1296 \x{1f88}\x{1f80}
1297
1298 /\x{1f80}+/8i
1299 \x{1f88}\x{1f80}
1300
1301 /\d+\s{0,5}=\s*\S?=\w{0,4}\W*/8WBZ
1302
1303
1304 /-- Perl 5.12.4 gets these wrong, but 5.15.3 is OK --/
1305
1306 /\x{004b}+/8i
1307 \x{004b}\x{006b}\x{212a}
1308
1309 /\x{006b}+/8i
1310 \x{004b}\x{006b}\x{212a}
1311
1312 /\x{212a}+/8i
1313 \x{004b}\x{006b}\x{212a}
1314
1315
1316 /\x{0053}+/8i
1317 \x{0053}\x{0073}\x{017f}
1318
1319 /\x{0073}+/8i
1320 \x{0053}\x{0073}\x{017f}
1321
1322 /\x{017f}+/8i
1323 \x{0053}\x{0073}\x{017f}
1324
1325 /^\p{Any}*\d{4}/8
1326 1234
1327 123
1328
1329 /^\X*\w{4}/8
1330 1234
1331 123
1332
1333 /^A\s+Z/8W
1334 A\x{2005}Z
1335 A\x{85}\x{180e}\x{2005}Z
1336
1337 /^A[\s]+Z/8W
1338 A\x{2005}Z
1339 A\x{85}\x{180e}\x{2005}Z
1340
1341 /\D+\X \d+\X \S+\X \s+\X \W+\X \w+\X \C+\X \R+\X \H+\X \h+\X \V+\X \v+\X a+\X \n+\X .+\X/BZx
1342
1343 /.+\X/BZxs
1344
1345 /\X+$/BZxm
1346
1347 /\X+\D \X+\d \X+\S \X+\s \X+\W \X+\w \X+. \X+\C \X+\R \X+\H \X+\h \X+\V \X+\v \X+\X \X+\Z \X+\z \X+$/BZx
1348
1349 /-- End of testinput6 --/

Properties

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

  ViewVC Help
Powered by ViewVC 1.1.5