@@ -151,14 +151,14 @@ It needs to support multiple selectors.
151
151
In this syntax, a list of N selectors is followed by a list of pairs where
152
152
the first element of each pair is a list of N value literals and
153
153
the second element of each pair is a pattern.
154
- A ` _ ` is a wildcard value that always matches.
154
+ A ` * ` is a wildcard value that always matches.
155
155
The last variant must have a list of all wildcard values.
156
156
```
157
157
[{$count :plural offset=1 grouping=always} {$gender}]
158
158
[1 female] {{$name} added you to her circles.}
159
159
[1 male] {{$name} added you to his circles.}
160
- [1 _ ] {{$name} added you to their circles.}
161
- [_ _ ] {{$name} added you and {#count} others to their circles.}
160
+ [1 * ] {{$name} added you to their circles.}
161
+ [* * ] {{$name} added you and {#count} others to their circles.}
162
162
```
163
163
164
164
Lists are enclosed in square brackets, reminiscent of Python lists.
@@ -169,7 +169,7 @@ the same pair of delimiters as literals in placeholder (for consistency),
169
169
or whether to make that optional.
170
170
(The ` [] ` value list syntax already indicates that value literals are enclosed.)
171
171
Some literals may require it if they contain spaces.
172
- The ` _ ` should probably never be enclosed in literal delimiters.
172
+ The ` * ` should probably never be enclosed in literal delimiters.
173
173
174
174
Selector syntax follows placeholder syntax,
175
175
except that a function must be specified.
@@ -222,8 +222,8 @@ $relDate={$date :relativeDateTime fields=Mdjm}
222
222
[{$count :plural offset=1} {$gender}]
223
223
[1 female] {{$name} added you to her circles {$relDate}.}
224
224
[1 male] {{$name} added you to his circles {$relDate}.}
225
- [1 _ ] {{$name} added you to their circles {$relDate}.}
226
- [_ _ ] {{$name} added you and {#count} others to their circles {$relDate}.}
225
+ [1 * ] {{$name} added you to their circles {$relDate}.}
226
+ [* * ] {{$name} added you and {#count} others to their circles {$relDate}.}
227
227
```
228
228
229
229
When a named expression is used in a pattern placeholder, then no function must be specified.
0 commit comments