Skip to content

Commit

Permalink
Don't treat $0, $1, etc. as normal variable interpolations.
Browse files Browse the repository at this point in the history
  • Loading branch information
pmichaud committed May 25, 2010
1 parent 263a905 commit ccc1a9c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Perl6/Grammar.pm
Expand Up @@ -1811,7 +1811,7 @@ grammar Perl6::Regex is Regex::P6Regex::Grammar {
}

token metachar:sym<rakvar> {
<?[$@]> <?before .\w> <var=.LANG('MAIN', 'variable')>
<?[$@]> <?before .<?alpha>> <var=.LANG('MAIN', 'variable')>
}

token assertion:sym<{ }> {
Expand Down

0 comments on commit ccc1a9c

Please sign in to comment.