summaryrefslogtreecommitdiff
path: root/pod/perlretut.pod
diff options
context:
space:
mode:
authorAbhijit Menon-Sen <ams@wiw.org>2001-11-16 12:11:14 +0000
committerAbhijit Menon-Sen <ams@wiw.org>2001-11-16 12:11:14 +0000
commit210b36aa2e9e009554be8970c3315c2658c0384f (patch)
tree71bb13e291837569d86a3f2f5c17515ccc1b9610 /pod/perlretut.pod
parentd7ceb7fc1159206a67f149394fc7aa55f6b4f7dd (diff)
downloadperl-210b36aa2e9e009554be8970c3315c2658c0384f.tar.gz
[PATCH] Doc spellcheck + podcheck
From: Autrijus Tang <autrijus@egb.elixus.org> Date: Thu, 15 Nov 2001 22:49:05 -0800 Message-Id: <20011116064905.GA44092@egb.elixus.org> Subject: [PATCH] podcheck+spellcheck, the rest of the story From: Autrijus Tang <autrijus@egb.elixus.org> Date: Fri, 16 Nov 2001 00:42:20 -0800 Message-Id: <20011116084220.GA44295@egb.elixus.org> Subject: Re: [PATCH] podcheck+spellcheck, the rest of the story From: Nicholas Clark <nick@ccl4.org> Date: Fri, 16 Nov 2001 10:32:01 +0000 Message-Id: <20011116103200.F62891@plum.flirble.org> (Applied after suitable de-mangling.) p4raw-id: //depot/perl@13041
Diffstat (limited to 'pod/perlretut.pod')
-rw-r--r--pod/perlretut.pod4
1 files changed, 2 insertions, 2 deletions
diff --git a/pod/perlretut.pod b/pod/perlretut.pod
index 65dfb4782c..f4e9bb6440 100644
--- a/pod/perlretut.pod
+++ b/pod/perlretut.pod
@@ -550,7 +550,7 @@ to give them a chance to match.
The last example points out that character classes are like
alternations of characters. At a given character position, the first
-alternative that allows the regexp match to succeed wil be the one
+alternative that allows the regexp match to succeed will be the one
that matches.
=head2 Grouping things and hierarchical matching
@@ -587,7 +587,7 @@ are
Alternations behave the same way in groups as out of them: at a given
string position, the leftmost alternative that allows the regexp to
-match is taken. So in the last example at tth first string position,
+match is taken. So in the last example at the first string position,
C<"20"> matches the second alternative, but there is nothing left over
to match the next two digits C<\d\d>. So perl moves on to the next
alternative, which is the null alternative and that works, since