# rpm -q perl
perl-5.16.0-227.fc18.x86_64
# perl -le 'print qq{\xA0} =~ /\h/ ? 1: 0'
1
# perl -le 'print qq{\xA0} =~ /[\h]/ ? 1: 0'
0
This is regression since 5.16.0.
Upstream bug report <https://rt.perl.org/rt3//Public/Bug/Display.html?id=114220>, fix is in private branch remotes/origin/smoke-me/khw-maint5.16_bug114220 as
commit ee895e3e46998560ad9b18ffcaf5852b1fbc5403
Author: Karl Williamson <public>
Date: Sat Jul 21 12:12:33 2012 -0600
PATCH: [perl #114220] /\h/ not equiv to /[\h]/
\h matches the No-Break space even under /d. It is the only
(non-complemented) Posix-like character class that has matches under /d
in the Latin1 range above ASCII. A special case is made for it, and \H
to make sure they have the correct code points.
This will probably go into perl 5.16.1, but it has not yet been merged into remotes/origin/maint-5.16.
Comment 1Fedora Update System
2012-09-11 13:26:19 UTC
Comment 2Fedora Update System
2012-09-11 19:12:20 UTC
Package perl-5.16.1-230.fc18:
* should fix your issue,
* was pushed to the Fedora 18 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing perl-5.16.1-230.fc18'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2012-13814/perl-5.16.1-230.fc18
then log in and leave karma (feedback).
Comment 3Fedora Update System
2012-09-14 12:04:02 UTC
# rpm -q perl perl-5.16.0-227.fc18.x86_64 # perl -le 'print qq{\xA0} =~ /\h/ ? 1: 0' 1 # perl -le 'print qq{\xA0} =~ /[\h]/ ? 1: 0' 0 This is regression since 5.16.0. Upstream bug report <https://rt.perl.org/rt3//Public/Bug/Display.html?id=114220>, fix is in private branch remotes/origin/smoke-me/khw-maint5.16_bug114220 as commit ee895e3e46998560ad9b18ffcaf5852b1fbc5403 Author: Karl Williamson <public> Date: Sat Jul 21 12:12:33 2012 -0600 PATCH: [perl #114220] /\h/ not equiv to /[\h]/ \h matches the No-Break space even under /d. It is the only (non-complemented) Posix-like character class that has matches under /d in the Latin1 range above ASCII. A special case is made for it, and \H to make sure they have the correct code points. This will probably go into perl 5.16.1, but it has not yet been merged into remotes/origin/maint-5.16.