develooper Front page | perl.perl6.language | Postings from April 2005

Re: should we change [^a-z] to <-[a..z]> instead of <-[a-z]>?

Thread Previous | Thread Next
From:
Rafael Garcia-Suarez
Date:
April 15, 2005 07:21
Subject:
Re: should we change [^a-z] to <-[a..z]> instead of <-[a-z]>?
Message ID:
slrnd5veqs.97u.rgarciasuarez@grubert.mandrakesoft.com
Aaron Sherman wrote in perl.perl6.language :
>
> A silly question: is there a canonical character set from which we
> extract these ranges? Are we hard-coding Unicode here, or is there some
> way for the user to specify the character set for ranges?

Perl 5 forces [a-z] (or [i-j] for that matter) to be a range of
lowercase alphabetic characters, even on EBCDIC platforms (where it's
not).

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