Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Don't parse <sigil> <rxstopper> as a variable in the search pattern f…
…or s///.

This fixes RT #122349.
  • Loading branch information
peschwa committed Jul 21, 2014
1 parent 043cc03 commit d940f0c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Perl6/Grammar.nqp
Expand Up @@ -4401,6 +4401,7 @@ grammar Perl6::RegexGrammar is QRegex::P6Regex::Grammar does STD {

token metachar:sym<rakvar> {
<?before <sigil> $<twigil>=[<alpha> | \W<alpha> | '(']>
<!before <sigil> <rxstopper> >
<var=.LANG('MAIN', 'variable')>
[
|| $<binding> = ( \s* '=' \s* <quantified_atom> )
Expand Down

0 comments on commit d940f0c

Please sign in to comment.