1 /-- This set of tests checks local-specific features, using the fr_FR locale. 2 It is not Perl-compatible. There is different version called wintestinput3 3 f or use on Windows, where the locale is called "french". --/ 4 5 /^[\w]+/ 6 *** Failers 7 No match 8 cole 9 No match 10 11 /^[\w]+/Lfr_FR 12 cole 13 0: cole 14 15 /^[\w]+/ 16 *** Failers 17 No match 18 cole 19 No match 20 21 /^[\W]+/ 22 cole 23 0: \xc9 24 25 /^[\W]+/Lfr_FR 26 *** Failers 27 0: *** 28 cole 29 No match 30 31 /[\b]/ 32 \b 33 0: \x08 34 *** Failers 35 No match 36 a 37 No match 38 39 /[\b]/Lfr_FR 40 \b 41 0: \x08 42 *** Failers 43 No match 44 a 45 No match 46 47 /^\w+/ 48 *** Failers 49 No match 50 cole 51 No match 52 53 /^\w+/Lfr_FR 54 cole 55 0: cole 56 57 /(.+)\b(.+)/ 58 cole 59 0: \xc9cole 60 1: \xc9 61 2: cole 62 63 /(.+)\b(.+)/Lfr_FR 64 *** Failers 65 0: *** Failers 66 1: *** 67 2: Failers 68 cole 69 No match 70 71 /cole/i 72 cole 73 0: \xc9cole 74 *** Failers 75 No match 76 cole 77 No match 78 79 /cole/iLfr_FR 80 cole 81 0: cole 82 cole 83 0: cole 84 85 /\w/IS 86 Capturing subpattern count = 0 87 No options 88 No first char 89 No need char 90 Subject length lower bound = 1 91 Starting byte set: 0 1 2 3 4 5 6 7 8 9 A B C D E F G H I J K L M N O P 92 Q R S T U V W X Y Z _ a b c d e f g h i j k l m n o p q r s t u v w x y z 93 94 /\w/ISLfr_FR 95 Capturing subpattern count = 0 96 No options 97 No first char 98 No need char 99 Subject length lower bound = 1 100 Starting byte set: 0 1 2 3 4 5 6 7 8 9 A B C D E F G H I J K L M N O P 101 Q R S T U V W X Y Z _ a b c d e f g h i j k l m n o p q r s t u v w x y z 102 103 104 105 /^[\xc8-\xc9]/iLfr_FR 106 cole 107 0: 108 cole 109 0: 110 111 /^[\xc8-\xc9]/Lfr_FR 112 cole 113 0: 114 *** Failers 115 No match 116 cole 117 No match 118 119 /\W+/Lfr_FR 120 >>>\xaa<<< 121 0: >>> 122 >>>\xba<<< 123 0: >>> 124 125 /[\W]+/Lfr_FR 126 >>>\xaa<<< 127 0: >>> 128 >>>\xba<<< 129 0: >>> 130 131 /[^[:alpha:]]+/Lfr_FR 132 >>>\xaa<<< 133 0: >>> 134 >>>\xba<<< 135 0: >>> 136 137 /\w+/Lfr_FR 138 >>>\xaa<<< 139 0: 140 >>>\xba<<< 141 0: 142 143 /[\w]+/Lfr_FR 144 >>>\xaa<<< 145 0: 146 >>>\xba<<< 147 0: 148 149 /[[:alpha:]]+/Lfr_FR 150 >>>\xaa<<< 151 0: 152 >>>\xba<<< 153 0: 154 155 /[[:alpha:]][[:lower:]][[:upper:]]/DZLfr_FR 156 ------------------------------------------------------------------ 157 Bra 158 [A-Za-z\xaa\xb5\xba\xc0-\xd6\xd8-\xf6\xf8-\xff] 159 [a-z\xb5\xdf-\xf6\xf8-\xff] 160 [A-Z\xc0-\xd6\xd8-\xde] 161 Ket 162 End 163 ------------------------------------------------------------------ 164 Capturing subpattern count = 0 165 No options 166 No first char 167 No need char 168 169 /-- End of testinput3 --/ 170