Skip to content

Commit 285983f

Browse files
committed
don't treat % as separator when it's a sigil
1 parent 31d74ba commit 285983f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

STD.pm6

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4891,7 +4891,8 @@ grammar Regex is STD {
48914891
}
48924892

48934893
token separator {
4894-
$<how>=['%''%'?] <normspace>? <quantified_atom>
4894+
$<how>=[ '%' [ '%' | <!before <[ \< * . ! ^ : ]> | \w > ] ]
4895+
<normspace>? <quantified_atom>
48954896
}
48964897

48974898
token sigmaybe:normspace {

0 commit comments

Comments
 (0)