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

Contents of /code/trunk/testdata/testinput6

Parent Directory Parent Directory | Revision Log Revision Log


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

Properties

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

  ViewVC Help
Powered by ViewVC 1.1.5