Skip to content

Commit a741fac

Browse files
committed
recommend a ** b --> a +% b rather than a+ % b
1 parent 285983f commit a741fac

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

STD.pm6

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5229,7 +5229,7 @@ grammar Regex is STD {
52295229
| \d+ \s+ '..' <.panic: "Spaces not allowed in bare range">
52305230
| (\d+) [ '..' [ (\d+) {.panic("Empty range") if $0.Str > $1[0].Str } | '*' | <.panic: "Malformed range"> ] ]?
52315231
| <embeddedblock>
5232-
| {} <quantified_atom> {.worryobs("atom ** " ~ $<quantified_atom>.Str ~ " as separator", "atom+ % " ~ $<quantified_atom>.Str, " nowadays"); }
5232+
| {} <quantified_atom> {.worryobs("atom ** " ~ $<quantified_atom>.Str ~ " as separator", "atom +% " ~ $<quantified_atom>.Str, " nowadays"); }
52335233
]
52345234
}
52355235

0 commit comments

Comments
 (0)