Perl::Critic::Policy::RegularExpressions::RequireExtendedFormattingExceptForSplit - Always use the /x modifier with regular expressions, except when the regex is used River stage one • 1 direct dependent • 1 total dependent

Extended regular expression formatting allows you mix whitespace and comments into the pattern, thus making them much more readable. # Match a single-quoted string efficiently... m{'[^\\']*(?:\\.[^\\']*)*'}; #Huh? # Same thing with extended format......

RENEEB/Perl-Critic-RENEEB-2.02 - 18 Dec 2018 09:07:08 GMT

1 result (0.031 seconds)