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

Perl::Critic::Policy::RegularExpressions::ProhibitComplexRegexes - Split long regexps into smaller qr// chunks. River stage three • 131 direct dependents • 386 total dependents

Big regexps are hard to read, perhaps even the hardest part of Perl. A good practice to write digestible chunks of regexp and put them together. This policy flags any regexp that is longer than "N" characters, where "N" is a configurable value that d...

PETDANCE/Perl-Critic-1.142 - 29 Nov 2022 02:20:23 UTC
1 result (0.105 seconds)