Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Optimize cut literals and charclasses
  • Loading branch information
sorear committed Sep 13, 2010
1 parent bde27dd commit af4b265
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/Optimizer/RxSimple.pm
Expand Up @@ -73,4 +73,9 @@ sub RxOp::Sigspace::mayback { my ($self) = @_;
return !$self->selfcut;
}

sub RxOp::String::mayback { 0 }
sub RxOp::Any::mayback { 0 }
sub RxOp::None::mayback { 0 }
sub RxOp::CClassElem::mayback { 0 }

1;

0 comments on commit af4b265

Please sign in to comment.