summaryrefslogtreecommitdiff
path: root/pod
diff options
context:
space:
mode:
authorSADAHIRO Tomoyuki <BQW10602@nifty.com>2005-07-17 20:38:05 +0900
committerRafael Garcia-Suarez <rgarciasuarez@gmail.com>2005-07-18 08:52:25 +0000
commit0d594e51e853b48a97327618a6e01007b612c5cd (patch)
treef7451d3a5deb2cfa14c78ed68a91df911b60c268 /pod
parent65c680eb0680dcdd59292a4d5d4b2aec3bd8c816 (diff)
downloadperl-0d594e51e853b48a97327618a6e01007b612c5cd.tar.gz
perlop: why \c\ cannot be placed just before the terminating delimiter
Message-Id: <20050717112557.5921.BQW10602@nifty.com> p4raw-id: //depot/perl@25165
Diffstat (limited to 'pod')
-rw-r--r--pod/perlop.pod5
1 files changed, 5 insertions, 0 deletions
diff --git a/pod/perlop.pod b/pod/perlop.pod
index f7ff074533..ba2ff9f737 100644
--- a/pod/perlop.pod
+++ b/pod/perlop.pod
@@ -1668,6 +1668,11 @@ Because the slash that terminated C<m//> was followed by a C<SPACE>,
the example above is not C<m//x>, but rather C<m//> with no C</x>
modifier. So the embedded C<#> is interpreted as a literal C<#>.
+Also no attention is paid to C<\c\> during this search.
+Thus the second C<\> in C<qq/\c\/> is interpreted as a part of C<\/>,
+and the following C</> is not recognized as a delimiter.
+Instead, use C<\034> or C<\x1c> at the end of quoted constructs.
+
=item Removal of backslashes before delimiters
During the second pass, text between the starting and ending