Front page | perl.perl5.porters |
Postings from April 2007
Re: perlrebackslash
Thread Previous
|
Thread Next
From:
demerphq
Date:
April 12, 2007 14:44
Subject:
Re: perlrebackslash
Message ID:
9b18b3110704121444t590c5d48r53c019b3b5fbe18a@mail.gmail.com
On 4/12/07, Juerd Waalboer <juerd@convolution.nl> 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?
Not really, at a stretch maybe to deal with malformed utf8 sequences somehow.
But it doesnt make a lot of sense to me so I'd be ok with seeing it
deprecated and then removed.
Yves
--
perl -Mre=debug -e "/just|another|perl|hacker/"
Thread Previous
|
Thread Next