X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=pod%2Fperlre.pod;h=61907f8a488d426a42d882bf2be3533b738a5ad4;hb=5269aecde866056a77e32c937c7c3182bb599487;hp=ce2b9bd952e6679fd62d26ce67edc476c366178f;hpb=945c54fd8d2501611a8e97dae49e901ff9478cad;p=p5sagit%2Fp5-mst-13.2.git diff --git a/pod/perlre.pod b/pod/perlre.pod index ce2b9bd..61907f8 100644 --- a/pod/perlre.pod +++ b/pod/perlre.pod @@ -268,7 +268,7 @@ Any alphanumeric or punctuation (special) character. =item print -Any alphanumeric or punctuation (special) character or space. +Any alphanumeric or punctuation (special) character or the space character. =item punct @@ -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' ;