[Bug 844919] New: perl-5.16.0: /[\h]/ does not match non-breakable space U+00A0

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

            Bug ID: 844919
        QA Contact: extras-qa@xxxxxxxxxxxxxxxxx
          Severity: unspecified
               URL: https://rt.perl.org/rt3//Public/Bug/Display.html?id=11
                    4220
           Version: rawhide
          Priority: unspecified
                CC: cweyl@xxxxxxxxxxxxxxx, iarnell@xxxxxxxxx,
                    jplesnik@xxxxxxxxxx, kasal@xxxxxx, lkundrak@xxxxx,
                    mmaslano@xxxxxxxxxx,
                    perl-devel@xxxxxxxxxxxxxxxxxxxxxxx, ppisar@xxxxxxxxxx,
                    psabata@xxxxxxxxxx, rc040203@xxxxxxxxxx,
                    tcallawa@xxxxxxxxxx
          Assignee: mmaslano@xxxxxxxxxx
           Summary: perl-5.16.0: /[\h]/ does not match non-breakable space
                    U+00A0
        Regression: ---
      Story Points: ---
    Classification: Fedora
                OS: Unspecified
          Reporter: ppisar@xxxxxxxxxx
              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@xxxxxxxxxxxxxxxx>
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@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/perl-devel



[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Legacy Announce]     [Fedora PHP Devel]     [Kernel Devel]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Big List of Linux Books]     [Gimp]     [Yosemite Information]
  Powered by Linux