summaryrefslogtreecommitdiff
path: root/pod
diff options
context:
space:
mode:
authorHugo van der Sanden <hv@crypt.org>1998-06-12 03:26:53 +0200
committerGurusamy Sarathy <gsar@cpan.org>1998-06-12 07:01:20 +0000
commit0c815be9f490bd7db5177b102e9ec25d74b97f4f (patch)
treec2efa43f10fd7ef1bd2cbcfc4ddf2363a060e1be /pod
parente91177edb0beae74fd07fb1ec08a528ab1fb63c2 (diff)
downloadperl-0c815be9f490bd7db5177b102e9ec25d74b97f4f.tar.gz
a tweaked version of:
Message-Id: <l03130300b1a6143078cd@[194.222.64.89]> Subject: Re: Misparsing s///x p4raw-id: //depot/perl@1121
Diffstat (limited to 'pod')
-rw-r--r--pod/perlre.pod5
1 files changed, 4 insertions, 1 deletions
diff --git a/pod/perlre.pod b/pod/perlre.pod
index 8fb582074c..da32f873fc 100644
--- a/pod/perlre.pod
+++ b/pod/perlre.pod
@@ -61,7 +61,10 @@ just as in ordinary Perl code. This also means that if you want real
whitespace or C<#> characters in the pattern that you'll have to either
escape them or encode them using octal or hex escapes. Taken together,
these features go a long way towards making Perl's regular expressions
-more readable. See the C comment deletion code in L<perlop>.
+more readable. Note that you have to be careful not to include the
+pattern delimiter in the comment--perl has no way of knowing you did
+not intend to close the pattern early. See the C comment deletion code
+in L<perlop>.
=head2 Regular Expressions