Subject: | complexity in regular expressions |
Date: | Thu, 1 Nov 2012 03:48:19 -0500 |
To: | bugs-perl-critic [...] rt.cpan.org |
From: | Caleb Cushing <xenoterracide [...] gmail.com> |
I was just reading the ExtendedFormatting Policy and I realized that it'd
be nice if we could count meta? special? characters instead of just
characters. I'm not sure how easy this would be though
/^this is really a simple expression$/
/^[A-Z]$/ #also really simple
https://metacpan.org/module/Perl::Critic::Policy::RegularExpressions::RequireExtendedFormatting
--
Caleb Cushing
http://xenoterracide.com