https://bugzilla.redhat.com/show_bug.cgi?id=844919

            Bug ID: 844919
        QA Contact: extras...@fedoraproject.org
          Severity: unspecified
               URL: https://rt.perl.org/rt3//Public/Bug/Display.html?id=11
                    4220
           Version: rawhide
          Priority: unspecified
                CC: cw...@alumni.drew.edu, iarn...@gmail.com,
                    jples...@redhat.com, ka...@ucw.cz, lkund...@v3.sk,
                    mmasl...@redhat.com,
                    perl-devel@lists.fedoraproject.org, ppi...@redhat.com,
                    psab...@redhat.com, rc040...@freenet.de,
                    tcall...@redhat.com
          Assignee: mmasl...@redhat.com
           Summary: perl-5.16.0: /[\h]/ does not match non-breakable space
                    U+00A0
        Regression: ---
      Story Points: ---
    Classification: Fedora
                OS: Unspecified
          Reporter: ppi...@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 <pub...@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.
--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
perl-devel mailing list
perl-devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/perl-devel

Reply via email to