Permalink
Browse files

add 「...」 as valid quoting inside regex as well

  • Loading branch information...
1 parent 7b5e4fb commit 235f71b76bc19c8b6fb8445a94e9adb86ad1dcdc @TimToady TimToady committed Aug 13, 2012
Showing with 1 addition and 0 deletions.
  1. +1 −0 STD.pm6
View
@@ -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> }

0 comments on commit 235f71b

Please sign in to comment.