Skip to content

Commit 235f71b

Browse files
committed
add 「...」 as valid quoting inside regex as well
1 parent 7b5e4fb commit 235f71b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

STD.pm6

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5029,6 +5029,7 @@ grammar Regex is STD {
50295029
<.SIGOK>
50305030
}
50315031

5032+
token metachar:sym<「 」> { <?before "「"> [:lang(%*LANG<MAIN>) <quote>] <.SIGOK> }
50325033
token metachar:sym<' '> { <?before "'"> [:lang(%*LANG<MAIN>) <quote>] <.SIGOK> }
50335034
token metachar:sym<" "> { <?before '"'> [:lang(%*LANG<MAIN>) <quote>] <.SIGOK> }
50345035

0 commit comments

Comments
 (0)