summaryrefslogtreecommitdiff
path: root/pod/perldiag.pod
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>1999-08-05 17:25:19 +0000
committerJarkko Hietaniemi <jhi@iki.fi>1999-08-05 17:25:19 +0000
commit9373385978348b5aad2d5fb3ea78b7db27600a69 (patch)
tree0361db780aceb375c2fe77e7189f17b7fcba7da1 /pod/perldiag.pod
parent0e8f60dd43c9e8276bfd6598ee62ebf70fa0c631 (diff)
downloadperl-9373385978348b5aad2d5fb3ea78b7db27600a69.tar.gz
Fix regex charclass parsing so that bogus ranges
like [0-\d] and [[:word:]-z] are no more allowed. The anomaly was noticed by Guy Decoux. p4raw-id: //depot/cfgperl@3926
Diffstat (limited to 'pod/perldiag.pod')
-rw-r--r--pod/perldiag.pod3
1 files changed, 2 insertions, 1 deletions
diff --git a/pod/perldiag.pod b/pod/perldiag.pod
index 0ff865d06d..8e686bab29 100644
--- a/pod/perldiag.pod
+++ b/pod/perldiag.pod
@@ -1595,7 +1595,8 @@ rebuild Perl.
=item invalid [] range in regexp
(F) The range specified in a character class had a minimum character
-greater than the maximum character. See L<perlre>.
+greater than the maximum character, or the range didn't start/end with
+a literal character. See L<perlre>.
=item Invalid conversion in %s: "%s"