1/-- This set of tests is run only with the 8-bit library when Unicode property 2 support is available. It starts with tests of the POSIX interface, because 3 that is supported only with the 8-bit library. --/ 4 5/\w/P 6 +++\x{c2} 7No match: POSIX code 17: match failed 8 9/\w/WP 10 +++\x{c2} 11 0: \xc2 12 13/A\x{391}\x{10427}\x{ff3a}\x{1fb0}/8iDZ 14------------------------------------------------------------------ 15 Bra 16 /i A\x{391}\x{10427}\x{ff3a}\x{1fb0} 17 Ket 18 End 19------------------------------------------------------------------ 20Capturing subpattern count = 0 21Options: caseless utf 22First char = 'A' (caseless) 23No need char 24 25/A\x{391}\x{10427}\x{ff3a}\x{1fb0}/8DZ 26------------------------------------------------------------------ 27 Bra 28 A\x{391}\x{10427}\x{ff3a}\x{1fb0} 29 Ket 30 End 31------------------------------------------------------------------ 32Capturing subpattern count = 0 33Options: utf 34First char = 'A' 35Need char = \x{b0} 36 37/AB\x{1fb0}/8DZ 38------------------------------------------------------------------ 39 Bra 40 AB\x{1fb0} 41 Ket 42 End 43------------------------------------------------------------------ 44Capturing subpattern count = 0 45Options: utf 46First char = 'A' 47Need char = \x{b0} 48 49/AB\x{1fb0}/8DZi 50------------------------------------------------------------------ 51 Bra 52 /i AB\x{1fb0} 53 Ket 54 End 55------------------------------------------------------------------ 56Capturing subpattern count = 0 57Options: caseless utf 58First char = 'A' (caseless) 59Need char = 'B' (caseless) 60 61/\x{401}\x{420}\x{421}\x{422}\x{423}\x{424}\x{425}\x{426}\x{427}\x{428}\x{429}\x{42a}\x{42b}\x{42c}\x{42d}\x{42e}\x{42f}/8iSI 62Capturing subpattern count = 0 63Options: caseless utf 64No first char 65No need char 66Subject length lower bound = 17 67Starting chars: \xd0 \xd1 68 \x{401}\x{420}\x{421}\x{422}\x{423}\x{424}\x{425}\x{426}\x{427}\x{428}\x{429}\x{42a}\x{42b}\x{42c}\x{42d}\x{42e}\x{42f} 69 0: \x{401}\x{420}\x{421}\x{422}\x{423}\x{424}\x{425}\x{426}\x{427}\x{428}\x{429}\x{42a}\x{42b}\x{42c}\x{42d}\x{42e}\x{42f} 70 \x{451}\x{440}\x{441}\x{442}\x{443}\x{444}\x{445}\x{446}\x{447}\x{448}\x{449}\x{44a}\x{44b}\x{44c}\x{44d}\x{44e}\x{44f} 71 0: \x{451}\x{440}\x{441}\x{442}\x{443}\x{444}\x{445}\x{446}\x{447}\x{448}\x{449}\x{44a}\x{44b}\x{44c}\x{44d}\x{44e}\x{44f} 72 73/[ⱥ]/8iBZ 74------------------------------------------------------------------ 75 Bra 76 /i \x{2c65} 77 Ket 78 End 79------------------------------------------------------------------ 80 81/[^ⱥ]/8iBZ 82------------------------------------------------------------------ 83 Bra 84 /i [^\x{2c65}] 85 Ket 86 End 87------------------------------------------------------------------ 88 89/\h/SI 90Capturing subpattern count = 0 91No options 92No first char 93No need char 94Subject length lower bound = 1 95Starting chars: \x09 \x20 \xa0 96 97/\v/SI 98Capturing subpattern count = 0 99No options 100No first char 101No need char 102Subject length lower bound = 1 103Starting chars: \x0a \x0b \x0c \x0d \x85 104 105/\R/SI 106Capturing subpattern count = 0 107No options 108No first char 109No need char 110Subject length lower bound = 1 111Starting chars: \x0a \x0b \x0c \x0d \x85 112 113/[[:blank:]]/WBZ 114------------------------------------------------------------------ 115 Bra 116 [\x09 \xa0] 117 Ket 118 End 119------------------------------------------------------------------ 120 121/\x{212a}+/i8SI 122Capturing subpattern count = 0 123Options: caseless utf 124No first char 125No need char 126Subject length lower bound = 1 127Starting chars: K k \xe2 128 KKkk\x{212a} 129 0: KKkk\x{212a} 130 131/s+/i8SI 132Capturing subpattern count = 0 133Options: caseless utf 134No first char 135No need char 136Subject length lower bound = 1 137Starting chars: S s \xc5 138 SSss\x{17f} 139 0: SSss\x{17f} 140 141/[\W\p{Any}]/BZ 142------------------------------------------------------------------ 143 Bra 144 [\x00-/:-@[-^`{-\xff\p{Any}] 145 Ket 146 End 147------------------------------------------------------------------ 148 abc 149 0: a 150 123 151 0: 1 152 153/[\W\pL]/BZ 154------------------------------------------------------------------ 155 Bra 156 [\x00-/:-@[-^`{-\xff\p{L}] 157 Ket 158 End 159------------------------------------------------------------------ 160 abc 161 0: a 162 ** Failers 163 0: * 164 123 165No match 166 167/[\D]/8 168 \x{1d7cf} 169 0: \x{1d7cf} 170 171/[\D\P{Nd}]/8 172 \x{1d7cf} 173 0: \x{1d7cf} 174 175/[^\D]/8 176 a9b 177 0: 9 178 ** Failers 179No match 180 \x{1d7cf} 181No match 182 183/[^\D\P{Nd}]/8 184 a9b 185 0: 9 186 \x{1d7cf} 187 0: \x{1d7cf} 188 ** Failers 189No match 190 \x{10000} 191No match 192 193/-- End of testinput16 --/ 194