develooper Front page | perl.perl5.porters | Postings from March 2007

Re: [PATCH] feel the the baß (encoding problems in the regex engine)

Thread Previous
From:
demerphq
Date:
March 20, 2007 02:45
Subject:
Re: [PATCH] feel the the baß (encoding problems in the regex engine)
Message ID:
9b18b3110703200245q14a78ef9td911eaf6c3de6209@mail.gmail.com
On 3/20/07, Rafael Garcia-Suarez <rgarciasuarez@gmail.com> wrote:
> On 20/03/07, demerphq <demerphq@gmail.com> wrote:
> > As a bonus this patch includes two bug fixes which I came across while
> > working out the utf8 encoding problem. One is for the trie code
> > charclass logic which was doing the wrong thing under utf8 and the
> > other was in some debugging output code that was using the wrong utf8
> > flag.
>
> Thanks, applied as #30647, although I removed an assignment to cast,
> which might be illegal for some setups:
>
>         (U8*)exp=Perl_bytes_to_utf8(aTHX_ (U8*)exp, &len);
>
> replaced by
>
>         exp = (char*)Perl_bytes_to_utf8(aTHX_ (U8*)exp, &len);
>

Gah, I did that again eh, thats the second time. Sorry. :-(

But cheers for applying the patch. :-)

Yves

-- 
perl -Mre=debug -e "/just|another|perl|hacker/"

Thread Previous


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