This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Fix Pod::Html for EBCDIC
authorKarl Williamson <khw@cpan.org>
Thu, 28 Dec 2017 04:39:50 +0000 (21:39 -0700)
committerKarl Williamson <khw@cpan.org>
Thu, 28 Dec 2017 04:50:00 +0000 (21:50 -0700)
commit842799930406c2bba389669d64a83783c138ab8f
tree3f0274fcc6e169689ad64be34974b95d1cbb0dfa
parent4cdca267b2a4aa72f52426806d483ad4fe34de7c
Fix Pod::Html for EBCDIC

Commit 38e30ca7507a601c2d84596bc51d88c0f3c516b4 introduced a
non-portable regular expression pattern which breaks the module on
EBCDIC.

Any range whose endpoints aren't both digits, both uppercase or both
lowercase will not work on EBCDIC.  /[^ -~]/ can more legibly and
portably be written as /[[:^print:]]/a, which is what this commit does.
ext/Pod-Html/lib/Pod/Html.pm