summaryrefslogtreecommitdiff
path: root/pod/perlop.pod
diff options
context:
space:
mode:
authorSADAHIRO Tomoyuki <BQW10602@nifty.com>2006-09-22 05:47:02 +0900
committerH.Merijn Brand <h.m.brand@xs4all.nl>2006-09-21 12:02:14 +0000
commit7d88d72a02dca27b7731d674d4257f7875ae0155 (patch)
tree55359a1bed62c77a9444619e097f07a0f0bb2383 /pod/perlop.pod
parentb57a0404d6b6347be89474e64fcdac6ac6ea98db (diff)
downloadperl-7d88d72a02dca27b7731d674d4257f7875ae0155.tar.gz
Re: \N{...} in regular expression [PATCH]
Message-Id: <20060921204520.80A6.BQW10602@nifty.com> p4raw-id: //depot/perl@28878
Diffstat (limited to 'pod/perlop.pod')
-rw-r--r--pod/perlop.pod7
1 files changed, 3 insertions, 4 deletions
diff --git a/pod/perlop.pod b/pod/perlop.pod
index 1993853de0..dcd537b529 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<A>, C<G>, C<Z>, C<d>, C<D>, C<w>, C<W>,
C<s>, C<S>, C<b>, C<B>, C<p>, C<P>, C<X>, C<C>, C<+>, C<*>, C<?>, C<|>,
-C<(>, C<)>, C<->, C<n>, C<r>, C<t>, C<f>, C<e>, C<a>, C<x>, C<c>, C<z>,
-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<N>, C<n>, C<r>, C<t>, C<f>, C<e>, C<a>, C<x>, C<c>,
+C<z>, 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<qq//> 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<//x>-regular expression, no processing is