summaryrefslogtreecommitdiff
path: root/pod/perldiag.pod
diff options
context:
space:
mode:
authorHugo van der Sanden <hv@crypt.org>2000-08-08 04:25:51 +0100
committerJarkko Hietaniemi <jhi@iki.fi>2000-08-08 17:29:26 +0000
commit9baa0206214393e14c90c1119dbe3c122969f510 (patch)
tree095be20bae34f839b2baadb4cb98bc50993f762d /pod/perldiag.pod
parent016a42f39635e4e96555aee41f820c77d820b582 (diff)
downloadperl-9baa0206214393e14c90c1119dbe3c122969f510.tar.gz
Re: enhanced(?) regex error messages
Message-Id: <200008080225.DAA10998@crypt.compulink.co.uk> plus Capitalize the error messages, plus perldiag them. p4raw-id: //depot/perl@6546
Diffstat (limited to 'pod/perldiag.pod')
-rw-r--r--pod/perldiag.pod25
1 files changed, 24 insertions, 1 deletions
diff --git a/pod/perldiag.pod b/pod/perldiag.pod
index fd082a1c89..ea6f8931a3 100644
--- a/pod/perldiag.pod
+++ b/pod/perldiag.pod
@@ -1779,6 +1779,11 @@ effective uids or gids failed.
to check the return value of your socket() call? See
L<perlfunc/listen>.
+=item Lookbehind longer than %d not implemented at {#} mark in regex 5s
+
+There is an upper limit to the depth of lookbehind in the (?<=
+regular expression construct.
+
=item lstat() on filehandle %s
(W io) You tried to do a lstat on a filehandle. What did you mean
@@ -1967,7 +1972,7 @@ provided for this purpose.
(F) You tried to do a read/write/send/recv operation with a buffer
length that is less than 0. This is difficult to imagine.
-=item nested *?+ in regexp
+=item Nested quantifiers in regexp
(F) You can't quantify a quantifier without intervening parentheses. So
things like ** or +* or ?* are illegal.
@@ -2705,6 +2710,15 @@ in L<perlos2>.
(S unsafe) The subroutine being declared or defined had previously been
declared or defined with a different function prototype.
+=item Quantifier in {,} bigger than %d at {#} mark in regex %s
+
+(F) There is an upper limit to the number of allowed repetitions in the {,}
+regular expression construct.
+
+=item Quantifier follows nothing in rgexp
+
+(F) Quantifiers like * are suffixes, they quantify something preceding them.
+
=item Range iterator outside integer range
(F) One (or both) of the numeric arguments to the range operator ".."
@@ -2765,6 +2779,11 @@ Doing so has no effect.
(W internal) The internal sv_replace() function was handed a new SV with
a reference count of other than 1.
+=item Reference to nonexistent group
+
+(F) In a regexp you tried to reference (\1, \2, ...) a group that
+doesn't exist. Count your parentheses.
+
=item regexp memory corruption
(P) The regular expression engine got confused by what the regular
@@ -3640,6 +3659,10 @@ something else of the same name (usually a subroutine) is exported by
that module. It usually means you put the wrong funny character on the
front of your variable.
+=item Variable length lookbehind not implemented
+
+(F) Lookbehind currently only works for fixed-length regular expressions.
+
=item "%s" variable %s masks earlier declaration in same %s
(W misc) A "my" or "our" variable has been redeclared in the current