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

Re: perlrebackslash

Thread Previous | Thread Next
Juerd Waalboer
April 12, 2007 13:53
Re: perlrebackslash
Message ID:
Glenn Linderman skribis 2007-04-12 12:51 (-0700):
> >C<\C> always matches a single octet, even if the source string is encoded
> >in UTF-8 format, and the character to be matched is a multi-octed 
> >character.
> >C<\C> is new in perl5.10.
> >Mnemonic: oI<C>tet.
> multi-octet ?  rather than multi-octed ?

I'd rather see \C removed completely. It breaks any string model. Both
the text/binary one, and the fully-abstracted one.

Can anyone come up with a acceptable use of \C?
korajn salutojn,

  juerd waalboer:  perl hacker  <>  <>
  convolution:     ict solutions and consultancy <>

Thread Previous | Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About