summaryrefslogtreecommitdiff
path: root/pod/perlrebackslash.pod
diff options
context:
space:
mode:
authorKarl Williamson <public@khwilliamson.com>2012-02-05 16:17:54 -0700
committerKarl Williamson <public@khwilliamson.com>2012-02-09 10:13:59 -0700
commit8129baca5dd762540c807db6ddf8d2e9fa4121b2 (patch)
tree4d31863c0b1e9786d230244c280e4af88757a20c /pod/perlrebackslash.pod
parent67addccf238c3d67d84f7dc1f5b4a2e791bf68da (diff)
downloadperl-8129baca5dd762540c807db6ddf8d2e9fa4121b2.tar.gz
perrebackslash, perlrecharclass: Note locale effects
This adds text to specify what happens under 'use locale'.
Diffstat (limited to 'pod/perlrebackslash.pod')
-rw-r--r--pod/perlrebackslash.pod3
1 files changed, 3 insertions, 0 deletions
diff --git a/pod/perlrebackslash.pod b/pod/perlrebackslash.pod
index cc72a1f14e..98435e5b8c 100644
--- a/pod/perlrebackslash.pod
+++ b/pod/perlrebackslash.pod
@@ -618,6 +618,9 @@ C<\R> can match a sequence of more than one character, it cannot be put
inside a bracketed character class; C</[\R]/> is an error; use C<\v>
instead. C<\R> was introduced in perl 5.10.0.
+Note that this does not respect any locale that might be in effect; it
+matches according to the platform's native character set.
+
Mnemonic: none really. C<\R> was picked because PCRE already uses C<\R>,
and more importantly because Unicode recommends such a regular expression
metacharacter, and suggests C<\R> as its notation.