The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

Search results for "module:Perl::Critic::Policy::RegularExpressions::RequireExtendedFormatting"

Perl::Critic::Policy::RegularExpressions::RequireExtendedFormatting - Always use the /x modifier with regular expressions. River stage three • 133 direct dependents • 408 total dependents

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 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.05 - 01 Dec 2020 07:16:10 UTC

Perl::Critic::Policy::RegularExpressions::RequireDefault - Always use the /a or /aa modifier with regular expressions. River stage one • 2 direct dependents • 3 total dependents

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. River stage three • 133 direct dependents • 408 total dependents

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
4 results (0.061 seconds)