Skip to content

Commit 5848638

Browse files
committed
allow <+ mr_ron> to be <+ mr-ron> too
1 parent 9a53b94 commit 5848638

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/QRegex/P6Regex/Grammar.nqp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -421,7 +421,7 @@ grammar QRegex::P6Regex::Grammar is HLL::Grammar {
421421
}
422422
}
423423
\s* ']'
424-
| $<name>=[\w+]
424+
| $<name>=<identifier>
425425
| ':' $<invert>=['!'|<?>] <identifier> { $*key := $<identifier>.Str }
426426
[
427427
|| <coloncircumfix=.LANG('MAIN','coloncircumfix', $*key)>

0 commit comments

Comments
 (0)