develooper Front page | perl.perl5.porters | Postings from January 2019

[perl #133756] //g flag on regex with UTF-8 source causes regexoptimiser to wrongly reject a match

From:
Karl Williamson via RT
Date:
January 21, 2019 01:14
Subject:
[perl #133756] //g flag on regex with UTF-8 source causes regexoptimiser to wrongly reject a match
Message ID:
rt-4.0.24-8354-1548033273-735.133756-15-0@perl.org
On Fri, 11 Jan 2019 05:48:17 -0800, jkeenan wrote:
> On Fri, 11 Jan 2019 05:01:12 GMT, public@khwilliamson.com wrote:
> 
> [snip]
> 
> > > So whatever it is, it's obscure.
> > >
> > > Nicholas Clark
> > >
> >
> > Thank you for reporting this.
> >
> > And your surmisal was correct.  There is a real bug, as hopefully
> > explained by this commit message, now in blead:
> >
> > From 88c2ae302de11db0b66ff2269e2c4e9bf46efd69 Mon Sep 17 00:00:00
> > 2001
> 
> I don't think the line above is correct.  When I update blead the
> commit appears to be:
> 
> #####
> commit 739762602079d68c47cbde3b29275e844d0c92ef (HEAD -> blead,
> origin/blead, origin/HEAD)
> Author:     Karl Williamson <khw@cpan.org>
> AuthorDate: Thu Jan 10 22:59:31 2019
> Commit:     Karl Williamson <khw@cpan.org>
> CommitDate: Thu Jan 10 23:56:24 2019
> 
> PATCH: [perl #133756] Failure to match properly
> 

This is the correct commit number for the fix.  Now closing this ticket.
> ...
> #####
> 
> Thank you very much.


-- 
Karl Williamson

---
via perlbug:  queue: perl5 status: open
https://rt.perl.org/Ticket/Display.html?id=133756



nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About