From: SADAHIRO Tomoyuki Date: Thu, 21 Sep 2006 20:47:02 +0000 (+0900) Subject: Re: \N{...} in regular expression [PATCH] X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=7d88d72a02dca27b7731d674d4257f7875ae0155;p=p5sagit%2Fp5-mst-13.2.git Re: \N{...} in regular expression [PATCH] Message-Id: <20060921204520.80A6.BQW10602@nifty.com> p4raw-id: //depot/perl@28878 --- diff --git a/pod/perlop.pod b/pod/perlop.pod index 1993853..dcd537b 100644 --- a/pod/perlop.pod +++ b/pod/perlop.pod @@ -1979,13 +1979,12 @@ However combinations of C<\> followed by RE-special chars are not substituted but only skipped. The full list of RE-special chars is C<\>, C<.>, C<^>, C<$>, C<@>, C, C, C, C, C, C, C, C, C, C, C, C

, C

, C, C, C<+>, C<*>, C, C<|>, -C<(>, C<)>, C<->, C, C, C, C, C, C, C, C, C, -digits (C<0> to C<9>), C<[>, C<{>, C<]>, C<}>, whitespaces (SPACE, TAB, -LF, CR, FF, and VT in addition), and C<#>. +C<(>, C<)>, C<->, C, C, C, C, C, C, C, C, C, +C, digits (C<0> to C<9>), C<[>, C<{>, C<]>, C<}>, whitespaces +(SPACE, TAB, LF, CR, FF, and VT in addition), and C<#>. As C<\c> is skipped at this step, C<@> of C<\c@> in RE is possibly treated as an array symbol (for example C<@foo>), even though the same text in C gives interpolation of C<\c@>. -Note that C<\N{name}> is interpolated at this step. Moreover, inside C<(?{BLOCK})>, C<(?# comment )>, and a C<#>-comment in a C-regular expression, no processing is