@@ -160,7 +160,7 @@ grammar QRegex::P6Regex::Grammar is HLL::Grammar {
160
160
]
161
161
}
162
162
163
- proto token quantifier { <...> }
163
+ proto token quantifier {* }
164
164
token quantifier :sym <* > { <sym > <backmod > }
165
165
token quantifier :sym <+ > { <sym > <backmod > }
166
166
token quantifier :sym <? > { <sym > <backmod > }
@@ -188,7 +188,7 @@ grammar QRegex::P6Regex::Grammar is HLL::Grammar {
188
188
189
189
token backmod { ':' ? [ '?' | '!' | <! before ':' > ] }
190
190
191
- proto token metachar { <...> }
191
+ proto token metachar {* }
192
192
token metachar :sym <ws > { <.normspace > }
193
193
token metachar :sym <[ ] > { '[' <nibbler > ']' }
194
194
token metachar :sym <( ) > { '(' <nibbler > ')' }
@@ -238,7 +238,7 @@ grammar QRegex::P6Regex::Grammar is HLL::Grammar {
238
238
[ <.ws > '=' <.ws > <quantified_atom > ]** 0.. 1
239
239
}
240
240
241
- proto token backslash { <...> }
241
+ proto token backslash {* }
242
242
token backslash :sym <s > { $ < sym > =[<[ dDnNsSwW ] >] }
243
243
token backslash :sym <b > { $ < sym > =[<[ bB ] >] }
244
244
token backslash :sym <e > { $ < sym > =[<[ eE ] >] }
@@ -258,7 +258,7 @@ grammar QRegex::P6Regex::Grammar is HLL::Grammar {
258
258
token backslash :sym <unsp > { [\s | '#' ] <.panic : 'Unspace not allowed in regex' > }
259
259
token backslash :sym <misc > { \W }
260
260
261
- proto token cclass_backslash { <...> }
261
+ proto token cclass_backslash {* }
262
262
token cclass_backslash :sym <s > { $ < sym > =[<[ dDnNsSwW ] >] }
263
263
token cclass_backslash :sym <b > { $ < sym > =[<[ bB ] >] }
264
264
token cclass_backslash :sym <e > { $ < sym > =[<[ eE ] >] }
@@ -272,7 +272,7 @@ grammar QRegex::P6Regex::Grammar is HLL::Grammar {
272
272
token cclass_backslash :sym <c > { $ < sym > =[<[ cC ] >] <charspec > }
273
273
token cclass_backslash :sym <any > { . }
274
274
275
- proto token assertion { <...> }
275
+ proto token assertion {* }
276
276
277
277
token assertion :sym <? > { '?' [ <? before '>' > | <assertion > ] }
278
278
token assertion :sym <! > { '!' [ <? before '>' > | <assertion > ] }
@@ -330,7 +330,7 @@ grammar QRegex::P6Regex::Grammar is HLL::Grammar {
330
330
]
331
331
}
332
332
333
- proto token mod_ident { <...> }
333
+ proto token mod_ident {* }
334
334
token mod_ident :sym <ignorecase > { $ < sym > =[i] 'gnorecase' ? » }
335
335
token mod_ident :sym <ratchet > { $ < sym > =[r] 'atchet' ? » }
336
336
token mod_ident :sym <sigspace > { $ < sym > =[s] 'igspace' ? » }
0 commit comments