Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

/\W/ regression in 5.20 with UTF-8 and a synthetic start class #15181

Closed
p5pRT opened this issue Feb 13, 2016 · 15 comments
Closed

/\W/ regression in 5.20 with UTF-8 and a synthetic start class #15181

p5pRT opened this issue Feb 13, 2016 · 15 comments

Comments

@p5pRT
Copy link
Collaborator

@p5pRT p5pRT commented Feb 13, 2016

Migrated from rt.perl.org#127537 (status was 'resolved')

Searchable as RT127537$

@p5pRT
Copy link
Collaborator Author

@p5pRT p5pRT commented Feb 13, 2016

From @khwilliamson

Patterns like /_?[^\W_0-9/ against a UTF-8 target string stopped working as of commit bcb8752 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

@p5pRT
Copy link
Collaborator Author

@p5pRT p5pRT commented Feb 14, 2016

From @Tux

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 bcb8752 in
5.19.8.

missing a ]

did you mean /_?[^\W_0-9]/ ?

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/

@p5pRT
Copy link
Collaborator Author

@p5pRT p5pRT commented Feb 14, 2016

The RT System itself - Status changed from 'new' to 'open'

@p5pRT
Copy link
Collaborator Author

@p5pRT p5pRT commented Feb 14, 2016

From @khwilliamson

On 02/14/2016 01​:12 AM, H.Merijn Brand wrote​:

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 bcb8752 in
5.19.8.

missing a ]

did you mean /_?[^\W_0-9]/ ?

Yes

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.

@p5pRT
Copy link
Collaborator Author

@p5pRT p5pRT commented Feb 19, 2016

From @khwilliamson

This was fixed in ac33c51
--
Karl Williamson

@p5pRT
Copy link
Collaborator Author

@p5pRT p5pRT commented Feb 19, 2016

@khwilliamson - Status changed from 'open' to 'pending release'

@p5pRT
Copy link
Collaborator Author

@p5pRT p5pRT commented May 9, 2016

From @khwilliamson

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

@p5pRT
Copy link
Collaborator Author

@p5pRT p5pRT commented May 9, 2016

@khwilliamson - Status changed from 'pending release' to 'resolved'

@p5pRT p5pRT closed this May 9, 2016
@p5pRT
Copy link
Collaborator Author

@p5pRT p5pRT commented May 9, 2016

From @khwilliamson

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

@p5pRT
Copy link
Collaborator Author

@p5pRT p5pRT commented May 9, 2016

From @khwilliamson

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

@p5pRT
Copy link
Collaborator Author

@p5pRT p5pRT commented May 9, 2016

From @khwilliamson

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

@p5pRT
Copy link
Collaborator Author

@p5pRT p5pRT commented May 9, 2016

From @khwilliamson

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

1 similar comment
@p5pRT
Copy link
Collaborator Author

@p5pRT p5pRT commented May 13, 2016

From @khwilliamson

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

@p5pRT
Copy link
Collaborator Author

@p5pRT p5pRT commented May 13, 2016

From @khwilliamson

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

1 similar comment
@p5pRT
Copy link
Collaborator Author

@p5pRT p5pRT commented May 13, 2016

From @khwilliamson

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
1 participant
You can’t perform that action at this time.