more perlcritic fixes

Perl::Critic::Policy::RegularExpressions::ProhibitCaptureWithoutTest