summaryrefslogtreecommitdiff
path: root/pod/perlre.pod
diff options
context:
space:
mode:
authorJohn P. Linderman <jpl@research.att.com>2002-08-09 08:48:55 -0400
committerRafael Garcia-Suarez <rgarciasuarez@gmail.com>2002-08-09 21:00:41 +0000
commitb975c0760c1818ba1cb4db218b2fd821cf43e101 (patch)
tree4638a1bb54f99a3c566de7f4655135e534dda843 /pod/perlre.pod
parentc9124e9294bd94b9fd79577899b132159c6feb6f (diff)
downloadperl-b975c0760c1818ba1cb4db218b2fd821cf43e101.tar.gz
Re: missing lower range in {} regex
From: "John P. Linderman" <jpl@research.att.com> Message-ID: <200208091648.MAA77577@raptor.research.att.com> p4raw-id: //depot/perl@17706
Diffstat (limited to 'pod/perlre.pod')
-rw-r--r--pod/perlre.pod3
1 files changed, 2 insertions, 1 deletions
diff --git a/pod/perlre.pod b/pod/perlre.pod
index bb521139ca..5e99fd3af5 100644
--- a/pod/perlre.pod
+++ b/pod/perlre.pod
@@ -121,7 +121,8 @@ The following standard quantifiers are recognized:
{n,m} Match at least n but not more than m times
(If a curly bracket occurs in any other context, it is treated
-as a regular character.) The "*" modifier is equivalent to C<{0,}>, the "+"
+as a regular character. In particular, the lower bound
+is not optional.) The "*" modifier is equivalent to C<{0,}>, the "+"
modifier to C<{1,}>, and the "?" modifier to C<{0,1}>. n and m are limited
to 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