Skip Menu |
Report information
Id: 127537
Status: resolved
Priority: 0/
Queue: perl5

Owner: khw <khw [at] cpan.org>
Requestors: khw <khw [at] cpan.org>
Cc:
AdminCc:

Operating System: All
PatchStatus: (no value)
Severity: low
Type: unknown
Perl Version:
  • 5.19.8
  • 5.19.9
  • 5.19.10
  • 5.19.11
  • 5.20.0
  • 5.20.1
  • 5.20.2
  • 5.20.3
  • 5.21.0
  • 5.21.1
  • 5.21.2
  • 5.21.3
  • 5.21.4
  • 5.21.5
  • 5.21.6
  • 5.21.7
  • 5.21.8
  • 5.21.9
  • 5.21.10
  • 5.21.11
  • 5.22.0
  • 5.22.1
  • 5.23.0
  • 5.23.1
  • 5.23.2
  • 5.23.3
  • 5.23.4
  • 5.23.5
  • 5.23.6
  • 5.23.7
  • 5.23.8
  • 5.23.9
Fixed In: 5.24.0



Subject: /\W/ regression in 5.20 with UTF-8 and a synthetic start class
Download (untitled) / with headers
text/plain 371b
Patterns like /_?[^\W_0-9/ against a UTF-8 target string stopped working as of commit bcb875216f24899d543c036aebdba0835f8d22e6 in 5.19.8. Something like the _? is crucial in this bug, as it causes the regex optimizer to generate a synthetic start class (SSC), though there are lots of other ways to force one, and the bug only happens with the SSC. --- Karl Williamson
Date: Sun, 14 Feb 2016 09:12:27 +0100
To: perl5-porters [...] perl.org
From: "H.Merijn Brand" <h.m.brand [...] xs4all.nl>
Subject: Re: [perl #127537] /\W/ regression in 5.20 with UTF-8 and a synthetic start class
Download (untitled) / with headers
text/plain 789b
On Sat, 13 Feb 2016 14:33:09 -0800, Karl Williamson (via RT) <perlbug-followup@perl.org> wrote: Show quoted text
> Patterns like /_?[^\W_0-9/ against a UTF-8 target string stopped > working as of commit bcb875216f24899d543c036aebdba0835f8d22e6 in > 5.19.8.
missing a ] did you mean /_?[^\W_0-9]/ ? Show quoted text
> Something like the _? is crucial in this bug, as it causes the regex > optimizer to generate a synthetic start class (SSC), though there are > lots of other ways to force one, and the bug only happens with the > SSC.
-- H.Merijn Brand http://tux.nl Perl Monger http://amsterdam.pm.org/ using perl5.00307 .. 5.23 porting perl5 on HP-UX, AIX, and openSUSE http://mirrors.develooper.com/hpux/ http://www.test-smoke.org/ http://qa.perl.org http://www.goldmark.org/jeff/stupid-disclaimers/
Download (untitled)
application/pgp-signature 490b

Message body not shown because it is not plain text.

From: Karl Williamson <public [...] khwilliamson.com>
To: "H.Merijn Brand" <h.m.brand [...] xs4all.nl>, perl5-porters [...] perl.org
Date: Sun, 14 Feb 2016 08:58:11 -0700
Subject: Re: [perl #127537] /\W/ regression in 5.20 with UTF-8 and a synthetic start class
Download (untitled) / with headers
text/plain 578b
On 02/14/2016 01:12 AM, H.Merijn Brand wrote: Show quoted text
> On Sat, 13 Feb 2016 14:33:09 -0800, Karl Williamson (via RT) > <perlbug-followup@perl.org> wrote: >
>> Patterns like /_?[^\W_0-9/ against a UTF-8 target string stopped >> working as of commit bcb875216f24899d543c036aebdba0835f8d22e6 in >> 5.19.8.
> > missing a ] > > did you mean /_?[^\W_0-9]/ ?
Yes Show quoted text
>
>> Something like the _? is crucial in this bug, as it causes the regex >> optimizer to generate a synthetic start class (SSC), though there are >> lots of other ways to force one, and the bug only happens with the >> SSC.
>
RT-Send-CC: perl5-porters [...] perl.org
This was fixed in ac33c516140ee213a8a20ada506f97b3a7776ae4 -- Karl Williamson
Download (untitled) / with headers
text/plain 250b
Thank you for submitting this report. You have helped make Perl better.\n\nWith the release of Perl 5.24.0 on May 9, 2016, this and 149 other issues have been resolved. Perl 5.24.0 may be downloaded via https://metacpan.org/release/RJBS/perl-5.24.0
Download (untitled) / with headers
text/plain 248b
Thank you for submitting this report. You have helped make Perl better.\nWith the release of Perl 5.24.0 on May 9, 2016, this and 149 other issues have been resolved. Perl 5.24.0 may be downloaded via https://metacpan.org/release/RJBS/perl-5.24.0
Download (untitled) / with headers
text/plain 248b
Thank you for submitting this report. You have helped make Perl better. With the release of Perl 5.24.0 on May 9, 2016, this and 149 other issues have been resolved. Perl 5.24.0 may be downloaded via https://metacpan.org/release/RJBS/perl-5.24.0
Download (untitled) / with headers
text/plain 247b
Thank you for submitting this report. You have helped make Perl better. With the release of Perl 5.24.0 on May 9, 2016, this and 149 other issues have been resolved. Perl 5.24.0 may be downloaded via https://metacpan.org/release/RJBS/perl-5.24.0
Download (untitled) / with headers
text/plain 248b
Thank you for submitting this report. You have helped make Perl better. With the release of Perl 5.24.0 on May 9, 2016, this and 149 other issues have been resolved. Perl 5.24.0 may be downloaded via https://metacpan.org/release/RJBS/perl-5.24.0
Download (untitled) / with headers
text/plain 248b
Thank you for submitting this report. You have helped make Perl better. With the release of Perl 5.24.0 on May 9, 2016, this and 149 other issues have been resolved. Perl 5.24.0 may be downloaded via https://metacpan.org/release/RJBS/perl-5.24.0
Download (untitled) / with headers
text/plain 252b
Thank you for submitting this report. You have helped make Perl better. With the release of Perl 5.24.0 on May 9, 2016, this and 149 other issues have been resolved. Perl 5.24.0 may be downloaded via https://metacpan.org/release/RJBS/perl-5.24.0
Download (untitled) / with headers
text/plain 252b
Thank you for submitting this report. You have helped make Perl better. With the release of Perl 5.24.0 on May 9, 2016, this and 149 other issues have been resolved. Perl 5.24.0 may be downloaded via https://metacpan.org/release/RJBS/perl-5.24.0


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

For issues related to this RT instance (aka "perlbug"), please contact perlbug-admin at perl.org