diff options
author | Perl 5 Porters <perl5-porters@africa.nicoh.com> | 1996-03-11 07:12:23 +0000 |
---|---|---|
committer | Charles Bailey <bailey@genetics.upenn.edu> | 1996-03-11 07:12:23 +0000 |
commit | 32fd1c9061751f11b9b856db15c636ea848dea38 (patch) | |
tree | 631f5a5c7a53dd52092158b5109c471c1504e34d /pod | |
parent | 1faa3dee5e3a2f365ca0794827258b8e740b939a (diff) | |
download | perl-32fd1c9061751f11b9b856db15c636ea848dea38.tar.gz |
More miscellaneous typos fixed
Diffstat (limited to 'pod')
-rw-r--r-- | pod/perlre.pod | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/pod/perlre.pod b/pod/perlre.pod index 41a3d5ff8f..5446746e91 100644 --- a/pod/perlre.pod +++ b/pod/perlre.pod @@ -83,8 +83,8 @@ modifier to C<{1,}>, and the "?" modifier to C<{0,1}>. n and m are limited to integral values less than 65536. By default, a quantified subpattern is "greedy", that is, it will match as -many times as possible without causing the rest pattern not to match. The -standard quantifiers are all "greedy", in that they match as many +many times as possible without causing the rest of the pattern not to match. +The standard quantifiers are all "greedy", in that they match as many occurrences as possible (given a particular starting location) without causing the pattern to fail. If you want it to match the minimum number of times possible, follow the quantifier with a "?" after any of them. @@ -150,12 +150,12 @@ you can use C<\Z(?!\n)>. When the bracketing construct C<( ... )> is used, \<digit> matches the digit'th substring. Outside of the pattern, always use "$" instead of "\" -in front of the digit. (The \<digit> notation can on rare occasion work +in front of the digit. (While the \<digit> notation can on rare occasion work outside the current pattern, this should not be relied upon. See the -WARNING below.) The scope of $<digit> (and C<$`>, C<$&>, and C<$')> +WARNING below.) The scope of $<digit> (and C<$`>, C<$&>, and C<$'>) extends to the end of the enclosing BLOCK or eval string, or to the next successful pattern match, whichever comes first. If you want to use -parentheses to delimit subpattern (e.g. a set of alternatives) without +parentheses to delimit a subpattern (e.g. a set of alternatives) without saving it as a subpattern, follow the ( with a ?. You may have as many parentheses as you wish. If you have more |