[Bug 844919] New: perl-5.16.0: /[\h]/ does not match non-breakable space U+00A0
bugzilla at redhat.com
bugzilla at redhat.com
Wed Aug 1 09:15:56 UTC 2012
https://bugzilla.redhat.com/show_bug.cgi?id=844919
Bug ID: 844919
QA Contact: extras-qa at fedoraproject.org
Severity: unspecified
URL: https://rt.perl.org/rt3//Public/Bug/Display.html?id=11
4220
Version: rawhide
Priority: unspecified
CC: cweyl at alumni.drew.edu, iarnell at gmail.com,
jplesnik at redhat.com, kasal at ucw.cz, lkundrak at v3.sk,
mmaslano at redhat.com,
perl-devel at lists.fedoraproject.org, ppisar at redhat.com,
psabata at redhat.com, rc040203 at freenet.de,
tcallawa at redhat.com
Assignee: mmaslano at redhat.com
Summary: perl-5.16.0: /[\h]/ does not match non-breakable space
U+00A0
Regression: ---
Story Points: ---
Classification: Fedora
OS: Unspecified
Reporter: ppisar at redhat.com
Type: Bug
Documentation: ---
Hardware: Unspecified
Mount Type: ---
Status: ASSIGNED
Component: perl
Product: Fedora
# 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 at khwilliamson.com>
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.
--
You are receiving this mail because:
You are on the CC list for the bug.
More information about the perl-devel
mailing list