From: John Bley Date: Tue, 2 Feb 1999 07:52:52 +0000 (-0500) Subject: 5.005_54 (DOC) fix minor typos X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=628afcb57eaa4f7bb1ceaa4febd38349022e5db1;p=p5sagit%2Fp5-mst-13.2.git 5.005_54 (DOC) fix minor typos To: perlbug@perl.org Message-ID: p4raw-id: //depot/cfgperl@2801 --- diff --git a/pod/perlre.pod b/pod/perlre.pod index 1df6ba3..451f527 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 against "barefoot", only the "foo" +example: when matching C 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;