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 X123 375 *** Failers 376 AXYZ 377 378/^(\X*)C/8 379 A\x{300}\x{301}\x{302}BCA\x{300}\x{301} 380 A\x{300}\x{301}\x{302}BCA\x{300}\x{301}C 381 382/^(\X*?)C/8 383 A\x{300}\x{301}\x{302}BCA\x{300}\x{301} 384 A\x{300}\x{301}\x{302}BCA\x{300}\x{301}C 385 386/^(\X*)(.)/8 387 A\x{300}\x{301}\x{302}BCA\x{300}\x{301} 388 A\x{300}\x{301}\x{302}BCA\x{300}\x{301}C 389 390/^(\X*?)(.)/8 391 A\x{300}\x{301}\x{302}BCA\x{300}\x{301} 392 A\x{300}\x{301}\x{302}BCA\x{300}\x{301}C 393 394/^\X(.)/8 395 *** Failers 396 A\x{300}\x{301}\x{302} 397 398/^\X{2,3}(.)/8 399 A\x{300}\x{301}B\x{300}X 400 A\x{300}\x{301}B\x{300}C\x{300}\x{301} 401 A\x{300}\x{301}B\x{300}C\x{300}\x{301}X 402 A\x{300}\x{301}B\x{300}C\x{300}\x{301}DA\x{300}X 403 404/^\X{2,3}?(.)/8 405 A\x{300}\x{301}B\x{300}X 406 A\x{300}\x{301}B\x{300}C\x{300}\x{301} 407 A\x{300}\x{301}B\x{300}C\x{300}\x{301}X 408 A\x{300}\x{301}B\x{300}C\x{300}\x{301}DA\x{300}X 409 410/^\p{Han}+/8 411 \x{2e81}\x{3007}\x{2f804}\x{31a0} 412 ** Failers 413 \x{2e7f} 414 415/^\P{Katakana}+/8 416 \x{3105} 417 ** Failers 418 \x{30ff} 419 420/^[\p{Arabic}]/8 421 \x{06e9} 422 \x{060b} 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{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{66a} 669 \x{6e9} 670 \x{6ef} 671 \x{6fa} 672 ** Failers 673 \x{600} 674 \x{650} 675 \x{651} 676 \x{652} 677 \x{653} 678 \x{654} 679 \x{655} 680 \x{65f} 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 \x{970} 692 693/^\p{Inherited}/8 694 \x{64b} 695 \x{654} 696 \x{655} 697 \x{200c} 698 ** Failers 699 \x{64a} 700 \x{656} 701 702/^\p{Shavian}/8 703 \x{10450} 704 \x{1047f} 705 706/^\p{Deseret}/8 707 \x{10400} 708 \x{1044f} 709 710/^\p{Osmanya}/8 711 \x{10480} 712 \x{1049d} 713 \x{104a0} 714 \x{104a9} 715 ** Failers 716 \x{1049e} 717 \x{1049f} 718 \x{104aa} 719 720/\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 721 \x{102A4}\x{AA52}\x{A91D}\x{1C46}\x{10283}\x{1092E}\x{1C6B}\x{A93B}\x{A8BF}\x{1BA0}\x{A50A}==== 722 723/\x{a77d}\x{1d79}/8i 724 \x{a77d}\x{1d79} 725 \x{1d79}\x{a77d} 726 727/\x{a77d}\x{1d79}/8 728 \x{a77d}\x{1d79} 729 ** Failers 730 \x{1d79}\x{a77d} 731 732/(A)\1/8i 733 AA 734 Aa 735 aa 736 aA 737 738/(\x{10a})\1/8i 739 \x{10a}\x{10a} 740 \x{10a}\x{10b} 741 \x{10b}\x{10b} 742 \x{10b}\x{10a} 743 744/The next two tests are for property support in non-UTF-8 mode/ 745 746/(?:\p{Lu}|\x20)+/ 747 \x41\x20\x50\xC2\x54\xC9\x20\x54\x4F\x44\x41\x59 748 749/[\p{Lu}\x20]+/ 750 \x41\x20\x50\xC2\x54\xC9\x20\x54\x4F\x44\x41\x59 751 752/\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 753 \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} 754 755/^\w+/8W 756 Az_\x{aa}\x{c0}\x{1c5}\x{2b0}\x{3b6}\x{1d7c9}\x{2fa1d}1\x{660}\x{bef}\x{16ee} 757 758/^[[:xdigit:]]*/8W 759 1a\x{660}\x{bef}\x{16ee} 760 761/^\d+/8W 762 1\x{660}\x{bef}\x{16ee} 763 764/^[[:digit:]]+/8W 765 1\x{660}\x{bef}\x{16ee} 766 767/^>\s+/8W 768 >\x{20}\x{a0}\x{1680}\x{2028}\x{2029}\x{202f}\x{9}\x{b} 769 770/^>\pZ+/8W 771 >\x{20}\x{a0}\x{1680}\x{2028}\x{2029}\x{202f}\x{9}\x{b} 772 773/^>[[:space:]]*/8W 774 >\x{20}\x{a0}\x{1680}\x{2028}\x{2029}\x{202f}\x{9}\x{b} 775 776/^>[[:blank:]]*/8W 777 >\x{20}\x{a0}\x{1680}\x{180e}\x{2000}\x{202f}\x{9}\x{b}\x{2028} 778 779/^[[:alpha:]]*/8W 780 Az\x{aa}\x{c0}\x{1c5}\x{2b0}\x{3b6}\x{1d7c9}\x{2fa1d} 781 782/^[[:alnum:]]*/8W 783 Az\x{aa}\x{c0}\x{1c5}\x{2b0}\x{3b6}\x{1d7c9}\x{2fa1d}1\x{660}\x{bef}\x{16ee} 784 785/^[[:cntrl:]]*/8W 786 \x{0}\x{09}\x{1f}\x{7f}\x{9f} 787 788/^[[:graph:]]*/8W 789 A\x{a1}\x{a0} 790 791/^[[:print:]]*/8W 792 A z\x{a0}\x{a1} 793 794/^[[:punct:]]*/8W 795 .+\x{a1}\x{a0} 796 797/\p{Zs}*?\R/ 798 ** Failers 799 a\xFCb 800 801/\p{Zs}*\R/ 802 ** Failers 803 a\xFCb 804 805/-- End of testinput6 --/ 806