- or download this
my $does_not_match = qr{((?:.*?(?=$match))|(?:(?:.(?!$match))*))};
- or download this
#!/usr/bin/perl
...
for 'electron impact ionization';
done_testing;
- or download this
use Regexp::Common 'do_not_match';
my $re = $RE{do_not}{-match => 'something'}