This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Make /[\N{}-\N{}]/ match Unicodely on EBCDIC
authorKarl Williamson <khw@cpan.org>
Mon, 24 Nov 2014 20:19:21 +0000 (13:19 -0700)
committerKarl Williamson <khw@cpan.org>
Mon, 24 Nov 2014 20:43:07 +0000 (13:43 -0700)
commitc7d255944c0b238f9cec18e728822535d42a9ed2
tree4ac5dfc5e6cbd25c3a26fad3f166b37ab639acca
parent22e7ef05c1f7a7fcd58d10d6e720579b9bbea728
Make /[\N{}-\N{}]/ match Unicodely on EBCDIC

This makes [\N{U+06}-\N{U+09}] match U+06, U+07, U+08, U+09 even on
EBCDIC platforms, allowing one to write portable ranges.  For 1047
EBCDIC this would match 0x2E, 0x2F, 0x16, and 0x05.

Thanks to Yaroslave Kuzmin for finding a bug in an earlier incarnation
of this patch.
pod/perlre.pod
pod/perlrecharclass.pod
regcomp.c