Help for this page

Select Code to Download


  1. or download this
       my $negative_regex = join '|',
                            map { s/^-//, $_ }
                            @$negative_criteria;
    
  2. or download this
       foreach(@$data) {
          push @$results, $_    if /$match_regex/ && !/$negative_regex/;
       }