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

Re: perlrebackslash

Thread Previous | Thread Next
From:
Abigail
Date:
April 12, 2007 14:01
Subject:
Re: perlrebackslash
Message ID:
20070412210113.GC4231@abigail.nl
On Thu, Apr 12, 2007 at 10:51:51PM +0200, Juerd Waalboer wrote:
> 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?


Yves pointed out that \C was actually already introduced in 5.8.

Removing wouldn't be possible without a deprecation cycle. 


Abigail

Thread Previous | Thread Next


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