diff options
author | Dominic Dunlop <domo@computer.org> | 1998-07-10 23:11:30 +0000 |
---|---|---|
committer | Gurusamy Sarathy <gsar@cpan.org> | 1998-07-11 18:41:00 +0000 |
commit | c3464db50133a6aa976b7250fa2eb5c58e26f877 (patch) | |
tree | e1f42620f3c94ab6a550537f6fea825d94dc2654 /pod | |
parent | fc2c2f48627ad2aa687bf62319411314bd55a226 (diff) | |
download | perl-c3464db50133a6aa976b7250fa2eb5c58e26f877.tar.gz |
applied patch, reformatted long lines in places
Message-Id: <v03110703b1cc32a02438@[195.95.102.91]>
Subject: [PATCH 5.004_71] Re: Document "count exceeded" regular expression
warning
p4raw-id: //depot/perl@1432
Diffstat (limited to 'pod')
-rw-r--r-- | pod/perldiag.pod | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/pod/perldiag.pod b/pod/perldiag.pod index a0505e4bba..e1967840bd 100644 --- a/pod/perldiag.pod +++ b/pod/perldiag.pod @@ -978,6 +978,18 @@ to 01411. Octal constants are introduced with a leading 0 in Perl, as in C. Perl uses this generic message when none of the errors that it encountered were severe enough to halt compilation immediately. +=item Complex regular subexpression recursion limit (%d) exceeded + +(W) The regular expression engine uses recursion in complex situations +where back-tracking is required. Recursion depth is limited to 32766, +or perhaps less in architectures where the stack cannot grow +arbitrarily. ("Simple" and "medium" situations are handled without +recursion and are not subject to a limit.) Try shortening the string +under examination; looping in Perl code (e.g. with C<while>) rather +than in the regular expression engine; or rewriting the regular +expression so that it is simpler or backtracks less. (See L<perlbook> +for information on I<Mastering Regular Expressions>.) + =item connect() on closed fd (W) You tried to do a connect on a closed socket. Did you forget to check |