List Info

Thread: Re: Regexp failure with utf8-flagged string and byte-flagged pattern




Re: Regexp failure with utf8-flagged string and byte-flagged pattern
user name
2007-09-21 09:34:07
On Fri, 21 Sep 2007 12:26:07 +0200, demerphq
<demerphqgmail.com> wrote:

> On 9/20/07, via RT srezic  cpan. org
<perlbug-followupperl.org> wrote:
> > # New Ticket Created by  sreziccpan.org
> > # Please include the string:  [perl #45605]
> > # in the subject line of all future correspondence
about this issue.
> > # <URL: h
ttp://rt.perl.org/rt3/Ticket/Display.html?id=45605 >
> >
> >
> > This is a bug report for perl from sreziccpan.org,
> > generated with the help of perlbug 1.36 running
under perl 5.10.0.
> >
> >
> >
------------------------------------------------------------
-----
> > The script below works as expected until perl
5.8.8 (i.e. it prints "1").
> > With perl5.10.0 the pattern does not match
anymore.
> >
> > Regards,
> >     Slaven
> >
> > #!perl
> > $string = 'Öschel';
> > utf8::upgrade($string);
> > warn $string =~ m{(?:Ö|&Ouml;)schel};
> > __END__
> 
> I dont have a blead handy right now to test with, could
someone please
> send me the output of this with a
> 
> use re Debug=>'ALL';
> 
> right before the warn statement.

 http://www.xs4al
l.nl/~hmbrand/xx.tgz

ping me on IRC when you have it, then I can clean up again

-- 
H.Merijn Brand         Amsterdam Perl Mongers (http://amsterdam.pm.org/
)
using & porting perl 5.6.2, 5.8.x, 5.9.x   on HP-UX
10.20, 11.00, 11.11,
& 11.23, SuSE 10.0 & 10.2, AIX 4.3 & 5.2, and
Cygwin. http://qa.perl.org
http://mirrors.de
velooper.com/hpux/            http://www.test-smoke.org
                        http
://www.goldmark.org/jeff/stupid-disclaimers/

[1]

about | contact  Other archives ( Real Estate discussion Medical topics )