summaryrefslogtreecommitdiff
path: root/pod
diff options
context:
space:
mode:
authorDominic Dunlop <domo@computer.org>1998-09-29 21:06:30 +0000
committerGurusamy Sarathy <gsar@cpan.org>1998-10-02 02:52:21 +0000
commit17feb5d536e7c1a1b75d6e8e85a12d67b3d41c04 (patch)
tree89e174fd557200f21db7ac1b39398734009641a0 /pod
parentd866897654588261ed8733ce10685e509cc36fb5 (diff)
downloadperl-17feb5d536e7c1a1b75d6e8e85a12d67b3d41c04.tar.gz
document yet another RE diagnostic, make it consistent with REG_INFTY
Date: Tue, 29 Sep 1998 21:06:30 +0000 Message-Id: <v03110700b236f60b1375@[212.24.192.106]> Subject: [PATCH 5.005_52] Fix hard-coded "matches null string many times" limit -- Date: Wed, 30 Sep 1998 11:46:44 +0000 Message-Id: <v03110702b237beb04830@[212.24.192.74]> Subject: [PATCH 5.005_52] Add "Strange *+?{} ..." to perldiag p4raw-id: //depot/perl@1911
Diffstat (limited to 'pod')
-rw-r--r--pod/perldiag.pod8
1 files changed, 8 insertions, 0 deletions
diff --git a/pod/perldiag.pod b/pod/perldiag.pod
index 73b48a9386..08c73c3284 100644
--- a/pod/perldiag.pod
+++ b/pod/perldiag.pod
@@ -2422,6 +2422,14 @@ there was a failure. You probably wanted to use system() instead,
which does return. To suppress this warning, put the exec() in a block
by itself.
+=item Strange *+?{} on zero-length expression
+
+(W) You applied a regular expression quantifier in a place where it
+makes no sense, such as on a zero-width assertion.
+Try putting the quantifier inside the assertion instead. For example,
+the way to match "abc" provided that it is followed by three
+repetitions of "xyz" is C</abc(?=(?:xyz){3})/>, not C</abc(?=xyz){3}/>.
+
=item Stub found while resolving method `%s' overloading `%s' in package `%s'
(P) Overloading resolution over @ISA tree may be broken by importation stubs.