1 # This set of tests checks local-specific features, using the "fr_FR" locale. 2 # It is not Perl-compatible. When run via RunTest, the locale is edited to 3 # be whichever of "fr_FR", "french", or "fr" is found to exist. There is 4 # different version of this file called wintestinput3 for use on Windows, 5 # where the locale is called "french" and the tests are run using 6 # RunTest.bat. 7 8 #forbid_utf 9 10 /^[\w]+/ 11 *** Failers 12 No match 13 cole 14 No match 15 16 /^[\w]+/locale=french 17 cole 18 0: cole 19 20 /^[\w]+/ 21 *** Failers 22 No match 23 cole 24 No match 25 26 /^[\W]+/ 27 cole 28 0: \xc9 29 30 /^[\W]+/locale=french 31 *** Failers 32 0: *** 33 cole 34 No match 35 36 /[\b]/ 37 \b 38 0: \x08 39 *** Failers 40 No match 41 a 42 No match 43 44 /[\b]/locale=french 45 \b 46 0: \x08 47 *** Failers 48 No match 49 a 50 No match 51 52 /^\w+/ 53 *** Failers 54 No match 55 cole 56 No match 57 58 /^\w+/locale=french 59 cole 60 0: cole 61 62 /(.+)\b(.+)/ 63 cole 64 0: \xc9cole 65 1: \xc9 66 2: cole 67 68 /(.+)\b(.+)/locale=french 69 *** Failers 70 0: *** Failers 71 1: *** 72 2: Failers 73 cole 74 No match 75 76 /cole/i 77 cole 78 0: \xc9cole 79 *** Failers 80 No match 81 cole 82 No match 83 84 /cole/i,locale=french 85 cole 86 0: cole 87 cole 88 0: cole 89 90 /\w/I 91 Capturing subpattern count = 0 92 Starting code units: 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 93 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 94 Subject length lower bound = 1 95 96 /\w/I,locale=french 97 Capturing subpattern count = 0 98 Starting code units: 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 99 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 100 101 102 103 Subject length lower bound = 1 104 105 # All remaining tests are in the french locale, so set the default. 106 107 #pattern locale=french 108 109 /^[\xc8-\xc9]/i 110 cole 111 0: 112 cole 113 0: 114 115 /^[\xc8-\xc9]/ 116 cole 117 0: 118 *** Failers 119 No match 120 cole 121 No match 122 123 /\W+/ 124 >>>\xaa<<< 125 0: >>> 126 >>>\xba<<< 127 0: >>> 128 129 /[\W]+/ 130 >>>\xaa<<< 131 0: >>> 132 >>>\xba<<< 133 0: >>> 134 135 /[^[:alpha:]]+/ 136 >>>\xaa<<< 137 0: >>> 138 >>>\xba<<< 139 0: >>> 140 141 /\w+/ 142 >>>\xaa<<< 143 0: 144 >>>\xba<<< 145 0: 146 147 /[\w]+/ 148 >>>\xaa<<< 149 0: 150 >>>\xba<<< 151 0: 152 153 /[[:alpha:]]+/ 154 >>>\xaa<<< 155 0: 156 >>>\xba<<< 157 0: 158 159 /[[:alpha:]][[:lower:]][[:upper:]]/IB 160 ------------------------------------------------------------------ 161 Bra 162 [A-Za-z\x83\x8a\x8c\x8e\x9a\x9c\x9e\x9f\xaa\xb5\xba\xc0-\xd6\xd8-\xf6\xf8-\xff] 163 [a-z\x83\x9a\x9c\x9e\xaa\xb5\xba\xdf-\xf6\xf8-\xff] 164 [A-Z\x8a\x8c\x8e\x9f\xc0-\xd6\xd8-\xde] 165 Ket 166 End 167 ------------------------------------------------------------------ 168 Capturing subpattern count = 0 169 Starting code units: 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 170 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 171 172 173 Subject length lower bound = 3 174 175 # End of testinput3 176