Janis Danisevskis | 53e448c | 2016-03-31 13:35:25 +0100 | [diff] [blame] | 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 |
Elliott Hughes | 2dbd7d2 | 2020-06-03 14:32:37 -0700 | [diff] [blame] | 91 | Capture group count = 0 |
Janis Danisevskis | 53e448c | 2016-03-31 13:35:25 +0100 | [diff] [blame] | 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 |
Elliott Hughes | 2dbd7d2 | 2020-06-03 14:32:37 -0700 | [diff] [blame] | 97 | Capture group count = 0 |
Janis Danisevskis | 53e448c | 2016-03-31 13:35:25 +0100 | [diff] [blame] | 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 |
Janis Danisevskis | 8b979b2 | 2016-08-15 16:09:16 +0100 | [diff] [blame] | 162 | [A-Za-z\x83\x8a\x8c\x8e\x9a\x9c\x9e\x9f\xaa\xb5\xba\xc0-\xd6\xd8-\xf6\xf8-\xff] |
Janis Danisevskis | 53e448c | 2016-03-31 13:35:25 +0100 | [diff] [blame] | 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 | ------------------------------------------------------------------ |
Elliott Hughes | 2dbd7d2 | 2020-06-03 14:32:37 -0700 | [diff] [blame] | 168 | Capture group count = 0 |
Janis Danisevskis | 53e448c | 2016-03-31 13:35:25 +0100 | [diff] [blame] | 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 |
Janis Danisevskis | 8b979b2 | 2016-08-15 16:09:16 +0100 | [diff] [blame] | 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 | æ ç è é ê ë ì í î ï ð ñ ò ó ô õ ö ø ù ú û ü ý þ ÿ |
Janis Danisevskis | 53e448c | 2016-03-31 13:35:25 +0100 | [diff] [blame] | 173 | Subject length lower bound = 3 |
| 174 | |
| 175 | # End of testinput3 |