develooper Front page | perl.perl6.internals | Postings from June 2001

Re: More character matching bits

Thread Previous | Thread Next
From:
Bryan C . Warnock
Date:
June 12, 2001 20:31
Subject:
Re: More character matching bits
Message ID:
01061223292601.05461@wakko.idiocity.nut
On Tuesday 12 June 2001 11:06 pm, Jarkko Hietaniemi wrote:
> > I. Make ranges work on Unicode code-points (if they don't already).
>
> Urrrr, yes, they do, if you by code-point ranges mean \x{...}-\x{...}
> but in general I would like to discourage the use of ranges.  What do
> you think [a-\N{KATAKANA LETTER KI}] should mean?  I think it should
> mean a compile time error.  People misuse ranges for classes.  Ranges
> also imply some collation, which is, as discussed, really bad.

Yes, ranges are bad, but they're occasionally useful.

-- 
Bryan C. Warnock
bwarnock@capita.com

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