Skip to content

Commit ad212c2

Browse files
committed
Always capture min for quantifier **.
1 parent c4db3ef commit ad212c2

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
@@ -237,7 +237,7 @@ grammar QRegex::P6Regex::Grammar is HLL::Grammar {
237237
token quantifier:sym<**> {
238238
<sym> <.normspace>? <backmod> <.normspace>?
239239
[
240-
| <.integer> \s+ '..' <.throw_spaces_in_bare_range>
240+
| <min=.integer> \s+ '..' <.throw_spaces_in_bare_range>
241241
| <min=.integer>
242242
[ '..'
243243
[

0 commit comments

Comments
 (0)