Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Merge pull request #293 from peschwa/rt122349
Don't parse <sigil> <rxstopper> as a variable in the search pattern for s///.
  • Loading branch information
FROGGS committed Jul 21, 2014
2 parents 043cc03 + d940f0c commit e40ffeb
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 e40ffeb

Please sign in to comment.