On Tue Oct 16 10:24:24 2012, jn...@jnthn.net wrote:
> On Wed Aug 01 05:34:41 2012, fe...@herrmann-koenigsberg.de wrote:
> >  felher | r: say "BLAR" ~~ /:ignorecase [blar | blubb]/
> > +p6eval | rakudo c1bfbb: OUTPUT«#<failed match>␤»
> >  moritz | it's supposed to match
> >  moritz | r: say "BLAR" ~~ /:ignorecase [blar || blubb]/
> > +p6eval | rakudo c1bfbb: OUTPUT«q[BLAR]␤␤»
> >  moritz | seems it's an NFA issue
> >   jnthn | Yeah, guess the NFA builder doesn't know anything about :i
> >  moritz | nqp: say('BLAR' ~~ /:ignorecase [blar || blubb]/)
> > +p6eval | nqp: OUTPUT«BLAR␤»
> >  moritz | nqp: say('BLAR' ~~ /:ignorecase [blar | blubb]/)
> > +p6eval | nqp: OUTPUT«␤»
> 
> Fixed:
> 
> > say ~("BLAR" ~~ /:ignorecase [blar | blubb]/)
> BLAR
> > say ~("bLaR" ~~ /:ignorecase [blar | blubb]/)
> bLaR
> > say ~("blar" ~~ /:ignorecase [blar | blubb]/)
> blar
> 
> Tagging testneeded.
> 
> Thanks,
> 
> /jnthn


Tests added to S05-modifier/ignorecase.t
-- 
Will "Coke" Coleda

Reply via email to