summaryrefslogtreecommitdiff
path: root/pod/perlre.pod
diff options
context:
space:
mode:
authorKarl Williamson <khw@cpan.org>2021-01-08 11:39:38 -0700
committerKarl Williamson <khw@cpan.org>2021-01-08 11:45:57 -0700
commit80ac1a601fa9ffc0dd7b4ae6fc3c0f3fb2f2add2 (patch)
tree2d462dcbcd45fb183f14495e596a5ee81bae533b /pod/perlre.pod
parent781d8b49760b7a212bb93c6a88cb71e9db9e1d71 (diff)
downloadperl-80ac1a601fa9ffc0dd7b4ae6fc3c0f3fb2f2add2.tar.gz
perlre: Fix description of quantifer {m,n} upper limit
The allowable max was doubled in 5.30
Diffstat (limited to 'pod/perlre.pod')
-rw-r--r--pod/perlre.pod2
1 files changed, 1 insertions, 1 deletions
diff --git a/pod/perlre.pod b/pod/perlre.pod
index bc475ec27a..e44f9431ec 100644
--- a/pod/perlre.pod
+++ b/pod/perlre.pod
@@ -880,7 +880,7 @@ quantifiers).
The C<"*"> quantifier is equivalent to C<{0,}>, the C<"+">
quantifier to C<{1,}>, and the C<"?"> quantifier to C<{0,1}>. I<n> and I<m> are limited
to non-negative integral values less than a preset limit defined when perl is built.
-This is usually 32766 on the most common platforms. The actual limit can
+This is usually 65534 on the most common platforms. The actual limit can
be seen in the error message generated by code such as this:
$_ **= $_ , / {$_} / for 2 .. 42;