Skip to content

Commit

Permalink
make backslash:misc an enumcharlist
Browse files Browse the repository at this point in the history
So <?[\]]> will actually have zerowidth.
  • Loading branch information
FROGGS committed Sep 30, 2013
1 parent c921a38 commit 9dcee84
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/QRegex/P6Regex/Actions.nqp
Original file line number Diff line number Diff line change
Expand Up @@ -340,7 +340,7 @@ class QRegex::P6Regex::Actions is HLL::Actions {
}

method backslash:sym<misc>($/) {
my $qast := QAST::Regex.new( ~$/ , :rxtype('literal'), :node($/) );
my $qast := QAST::Regex.new( ~$/ , :rxtype('enumcharlist'), :node($/) );
make $qast;
}

Expand Down

0 comments on commit 9dcee84

Please sign in to comment.