Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
add 「...」 as valid quoting inside regex as well
  • Loading branch information
TimToady committed Aug 13, 2012
1 parent 7b5e4fb commit 235f71b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions STD.pm6
Expand Up @@ -5029,6 +5029,7 @@ grammar Regex is STD {
<.SIGOK>
}

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

Expand Down

0 comments on commit 235f71b

Please sign in to comment.