From: bart@cg681574-a.adubn1.nj.home.com Date: Tue, 29 May 2001 13:58:59 +0000 (-0500) Subject: [ID 20010529.002] typos in man page perlre X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=9b9391b2137d0d888bfc6470939bf27aafb72518;p=p5sagit%2Fp5-mst-13.2.git [ID 20010529.002] typos in man page perlre Message-Id: p4raw-id: //depot/perl@10315 --- diff --git a/pod/perlre.pod b/pod/perlre.pod index ce2b9bd..5fd545f 100644 --- a/pod/perlre.pod +++ b/pod/perlre.pod @@ -784,7 +784,7 @@ and the first "bar" thereafter. got Here's another example: let's say you'd like to match a number at the end -of a string, and you also want to keep the preceding part the match. +of a string, and you also want to keep the preceding of part the match. So you write this: $_ = "I have 2 numbers: 53147"; @@ -850,7 +850,7 @@ followed by "123". You might try to write that as But that isn't going to match; at least, not the way you're hoping. It claims that there is no 123 in the string. Here's a clearer picture of -why it that pattern matches, contrary to popular expectations: +why that pattern matches, contrary to popular expectations: $x = 'ABC123' ; $y = 'ABC445' ;