diff options
author | John Bley <jbb6@acpub.duke.edu> | 1999-02-02 02:52:52 -0500 |
---|---|---|
committer | Jarkko Hietaniemi <jhi@iki.fi> | 1999-02-02 17:40:14 +0000 |
commit | 628afcb57eaa4f7bb1ceaa4febd38349022e5db1 (patch) | |
tree | 40bbad98f836527ee14e23c2edcf1923a23e1542 /pod/perlre.pod | |
parent | 2a40f0e39716e28dbf4254a185c6e067b731a67f (diff) | |
download | perl-628afcb57eaa4f7bb1ceaa4febd38349022e5db1.tar.gz |
5.005_54 (DOC) fix minor typos
To: perlbug@perl.org
Message-ID: <Pine.SOL.3.91.990202075115.23589A-100000@soc11.acpub.duke.edu>
p4raw-id: //depot/cfgperl@2801
Diffstat (limited to 'pod/perlre.pod')
-rw-r--r-- | pod/perlre.pod | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pod/perlre.pod b/pod/perlre.pod index 1df6ba3d8a..451f527445 100644 --- a/pod/perlre.pod +++ b/pod/perlre.pod @@ -787,7 +787,7 @@ start and end. Alternatives are tried from left to right, so the first alternative found for which the entire expression matches, is the one that is chosen. This means that alternatives are not necessarily greedy. For -example: when mathing C<foo|foot> against "barefoot", only the "foo" +example: when matching C<foo|foot> against "barefoot", only the "foo" part will match, as that is the first alternative tried, and it successfully matches the target string. (This might not seem important, but it is important when you are capturing matched text using parentheses.) @@ -840,7 +840,7 @@ with most other power tools, power comes together with the ability to wreak havoc. A common abuse of this power stems from the ability to make infinite -loops using regular expressions, with something as innocous as: +loops using regular expressions, with something as innocuous as: 'foo' =~ m{ ( o? )* }x; |