Login
Clean up Schwern's
authorElliot Shank <perl@galumph.com>
Sun, 17 Aug 2008 10:18:21 +0000 (10:18 +0000)
committerElliot Shank <perl@galumph.com>
Sun, 17 Aug 2008 10:18:21 +0000 (10:18 +0000)
commit9c7b2a740183a88c54ec5ff9172b8ab5eb756cdf
tree6697f791b506a83699c674e6d49a025930f4b609
parent827f825fdf086af2431ebb00878b9bf7ca0da460
Clean up Schwern's
RegularExpressions::RequireExtendedFormatting patch. Renamed
the min_regex_length option to
minimum_regex_length_to_complain_about. The way the
allow_with_whitespace was coded, if the regex contained any
whitespace at all, it was exempt. Instead, I made regexes
that only contain word characters and whitespace exempt by
default, and added a strict option.  I'm not so sure about
this one.
Changes
lib/Perl/Critic/Policy/RegularExpressions/RequireExtendedFormatting.pm
t/RegularExpressions/RequireExtendedFormatting.run