This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Document Unicode case-insensitive [] range bug
authorKarl Williamson <khw@khw-desktop.(none)>
Fri, 26 Feb 2010 01:48:50 +0000 (18:48 -0700)
committerJesse Vincent <jesse@bestpractical.com>
Sun, 28 Feb 2010 20:15:20 +0000 (10:15 -1000)
pod/perlre.pod

index 2b46f1f..7417b35 100644 (file)
@@ -2152,6 +2152,11 @@ Subroutine call to a named capture buffer. Equivalent to C<< (?&NAME) >>.
 
 =head1 BUGS
 
+In a bracketed character class with case insensitive matching, ranges only work
+for ASCII characters.  For example,
+C<m/[\N{CYRILLIC CAPITAL LETTER A}-\N{CYRILLIC CAPITAL LETTER YA}]/i>
+doesn't match all the Russian upper and lower case letters.
+
 This document varies from difficult to understand to completely
 and utterly opaque.  The wandering prose riddled with jargon is
 hard to fathom in several places.