This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
perldiag: Correct severity/category for ‘False [] range’
[perl5.git] / 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