Skip to content
This repository has been archived by the owner on Feb 3, 2021. It is now read-only.

Commit

Permalink
Combined negated charclass should be zero-width.
Browse files Browse the repository at this point in the history
  • Loading branch information
pmichaud committed Oct 18, 2009
1 parent 2408264 commit 6d0e83e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Regex/P6Regex/Actions.pm
Expand Up @@ -344,7 +344,7 @@ method assertion:sym<[>($/) {
while $i < $n {
my $ast := $clist[$i].ast;
if $ast.negate {
$past.subtype('zerowidth');
$ast.subtype('zerowidth');
$past := PAST::Regex.new( $ast, $past, :pasttype('concat'), :node($/) );
}
else {
Expand Down

0 comments on commit 6d0e83e

Please sign in to comment.