diff options
author | Karl Williamson <public@khwilliamson.com> | 2011-04-18 21:21:39 -0600 |
---|---|---|
committer | Karl Williamson <public@khwilliamson.com> | 2011-04-18 21:26:34 -0600 |
commit | 5027a30ba7c234d69994192a1031579771161b14 (patch) | |
tree | b7bee84014c6f1ed463f43bfcba5d78ed59d7cd0 /pod/perlre.pod | |
parent | 8b6a1dd5a4ab2e79b03e91a57adad99ab5084f5f (diff) | |
download | perl-5027a30ba7c234d69994192a1031579771161b14.tar.gz |
perlre: Remove false statement about locales
Diffstat (limited to 'pod/perlre.pod')
-rw-r--r-- | pod/perlre.pod | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/pod/perlre.pod b/pod/perlre.pod index 92f9ceb8de..12617e251a 100644 --- a/pod/perlre.pod +++ b/pod/perlre.pod @@ -51,7 +51,8 @@ X<regular expression, case-insensitive> Do case-insensitive pattern matching. -If C<use locale> is in effect, the case map is taken from the current +If locale matching rules are in effect, the case map is taken from the +current locale for code points less than 255, and from Unicode rules for larger code points. However, matches that would cross the Unicode rules/non-Unicode rules boundary (ords 255/256) will not succeed. See @@ -188,12 +189,6 @@ is. This modifier may be specified to be the default by C<use locale>, but see L</Which character set modifier is in effect?>. - -Note that what C</l> essentially means is "if there is a locale, use -it". It does not set up the locale. For that, it needs to execute -within the scope of C<use locale> after a C<setlocale()>. Otherwise the -default "C" or "POSIX" locale is used, which should be equivalent to -ASCII (though some platforms violate this.) X</l> =head4 /u |