complement to $

Simen kjaeraas simen.kjaras at gmail.com
Fri May 14 06:32:31 PDT 2010


  Steven Schveighoffer <schveiguy at yahoo.com> wrote:

> So how does this look:  coll[^..$];
>
> Thoughts? other ideas?
>
> -Steve

I like ^ for this usage, due (as you said) to its symmetry with
regexes. Other possible symbols would be # and ?, I believe.

There should be no ambiguities with the caret as far as I can see.

-- 
Simen


More information about the Digitalmars-d mailing list