Tristan Matthews | 0461646 | 2013-11-14 16:09:34 -0500 | [diff] [blame] | 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 --/ |