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
commit472e768a269d717df0d830c402838f79b5df7c49 (patch)
treeb2759ecb582946e4e97523bfaae214e3df4512c3 /pod/perlre.pod
parent78f2e9959ebb62a3c79eed617d1f1918ceed4ab2 (diff)
downloadperl-472e768a269d717df0d830c402838f79b5df7c49.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.