From: SADAHIRO Tomoyuki Date: Sun, 17 Jul 2005 11:38:05 +0000 (+0900) Subject: perlop: why \c\ cannot be placed just before the terminating delimiter X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=0d594e51e853b48a97327618a6e01007b612c5cd;p=p5sagit%2Fp5-mst-13.2.git perlop: why \c\ cannot be placed just before the terminating delimiter Message-Id: <20050717112557.5921.BQW10602@nifty.com> p4raw-id: //depot/perl@25165 --- diff --git a/pod/perlop.pod b/pod/perlop.pod index f7ff074..ba2ff9f 100644 --- a/pod/perlop.pod +++ b/pod/perlop.pod @@ -1668,6 +1668,11 @@ Because the slash that terminated C was followed by a C, the example above is not C, but rather C with no C 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 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