perldiag: Correct severity/category for ‘False [] range’
authorFather Chrysostomos <sprout@cpan.org>
Thu, 6 Jun 2013 06:56:52 +0000 (23:56 -0700)
committerFather Chrysostomos <sprout@cpan.org>
Thu, 6 Jun 2013 08:00:23 +0000 (01:00 -0700)
This can now be a fatal error or a warning.  diag.t is still not
smart enough to verify this, so it is still in its exception list.

pod/perldiag.pod

index ecb4191..6016648 100644 (file)
@@ -1943,7 +1943,7 @@ queue of such routines has been prematurely ended.
 
 =item False [] range "%s" in regex; marked by <-- HERE in m/%s/
 
-(W regexp) A character class range must start and end at a literal
+(W regexp)(F) A character class range must start and end at a literal
 character, not another character class like C<\d> or C<[:alpha:]>.  The "-"
 in your false range is interpreted as a literal "-".  Consider quoting the
 "-", "\-".  The <-- HERE shows whereabouts in the regular expression the