Search results for "module:Perl::Critic::Policy::RegularExpressions::RequireExtendedFormatting"
Perl::Critic::Policy::RegularExpressions::RequireExtendedFormatting - Always use the /x modifier with regular expressions.
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......
PETDANCE/Perl-Critic-1.152 - 17 Oct 2023 04:09:08 UTC
Perl::Critic::Policy::RegularExpressions::RequireExtendedFormattingExceptForSplit - Always use the /x modifier with regular expressions, except when the regex is used
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.05 - 01 Dec 2020 07:16:10 UTC
Perl::Critic::Policy::RegularExpressions::RequireDefault - Always use the /a or /aa modifier with regular expressions.
This policy aims to help enforce Perl's protective measures against security vulnerabilities related to Unicode, such as: * Visual Spoofing * Character and String Transformation Vulnerabilities The "/a" and "/aa" modifiers standing for ASCII-restrict...
JONASBN/Perl-Critic-Policy-RegularExpressions-RequireDefault-2.02 - 22 May 2021 13:24:39 UTC
Perl::Critic::Policy::Miscellanea::ProhibitUselessNoCritic - Remove ineffective "## no critic" annotations.
Sometimes, you may need to use a "## no critic" annotation to work around a false-positive bug in Perl::Critic. But eventually, that bug might get fixed, leaving your code with extra "## no critic" annotations lying about. Or you may use them to loca...
PETDANCE/Perl-Critic-1.152 - 17 Oct 2023 04:09:08 UTC