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

Re: unicode regex performance (was Re: Future Perl development)

From:
Juerd Waalboer
Date:
February 8, 2007 04:27
Subject:
Re: unicode regex performance (was Re: Future Perl development)
Message ID:
20070208122733.GU25362@c4.convolution.nl
demerphq skribis 2007-02-08 13:19 (+0100):
> >By the way - I retract that a pragma would be good. I should have
> >proposed a regex flag. Unfortunately, /i (ignorant mode) is taken, so
> >perhaps /d (dumb) or /n (naive).
> Eeek. New modifiers are trouble.
> Id prefer to see this happen automatically when the pattern is utf8
> and exact and doesnt use charclasses or anything that needs true
> character semantics.

Isn't doing this automatically very very dangerous, because pos() no
longer makes any sense once you start using byte semantics on character
strings?
-- 
korajn salutojn,

  juerd waalboer:  perl hacker  <juerd@juerd.nl>  <http://juerd.nl/sig>
  convolution:     ict solutions and consultancy <sales@convolution.nl>

Ik vertrouw stemcomputers niet.
Zie <http://www.wijvertrouwenstemcomputersniet.nl/>.



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