summaryrefslogtreecommitdiff
path: root/pod/perlre.pod
diff options
context:
space:
mode:
authorroot@ak-75.mind.de <root@ak-75.mind.de>2001-01-28 21:32:29 +0100
committerJarkko Hietaniemi <jhi@iki.fi>2001-01-29 15:17:34 +0000
commit20fb949fed790d46b0900443523ae4205f81da71 (patch)
treeb2759ecb582946e4e97523bfaae214e3df4512c3 /pod/perlre.pod
parent2129b68ab40c49f442ca9d22b120e567dd1d588f (diff)
downloadperl-20fb949fed790d46b0900443523ae4205f81da71.tar.gz
[ID 20010128.003] [PATCH] perlre.pod  buglet
Message-Id: <200101281932.UAA15768@ak-75.mind.de> p4raw-id: //depot/perl@8587
Diffstat (limited to 'pod/perlre.pod')
-rw-r--r--pod/perlre.pod2
1 files changed, 1 insertions, 1 deletions
diff --git a/pod/perlre.pod b/pod/perlre.pod
index 0c38ac7cba..2e2f59cdfd 100644
--- a/pod/perlre.pod
+++ b/pod/perlre.pod
@@ -1096,7 +1096,7 @@ For example:
$_ = 'bar';
s/\w??/<$&>/g;
-results in C<"<><b><><a><><r><>">. At each position of the string the best
+results in C<< <><b><><a><><r><> >>. At each position of the string the best
match given by non-greedy C<??> is the zero-length match, and the I<second
best> match is what is matched by C<\w>. Thus zero-length matches
alternate with one-character-long matches.