develooper Front page | perl.perl5.porters | Postings from November 2008

Re: PATCH [perl #59342] chr(0400) =~ /\400/ fails for >= 400

Thread Previous | Thread Next
Tom Christiansen
November 14, 2008 12:18
Re: PATCH [perl #59342] chr(0400) =~ /\400/ fails for >= 400
Message ID:
>On Thu, Nov 13, 2008 at 11:02:50PM -0700, karl williamson wrote:
>> changed by that.  A leading 0 may have been so required before 
>> standardization.  I now regret throwing my first edition K&R away when 
>> the standard came out.)

>p35 K&R first edition:

>"... In addition, an arbitrary byte-sized bit pattern can be generated
>by writing

>   '\ddd'

>where ddd is one to three octal digits, as in:

>   #define   FORMFEED  '\014'  /* ASCII form feed */


Andrew said that using all three digits usually dodged the
ambiguity.  Perhaps I misconstrued to mean that you had
to use them all, whereas he may have meant that one should.

He just walked past me, but I'm not ready to chase down 
that subject again.

Talking about collation sequences was another big topic here,
but well, more on that later.


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