complement to $

Robert Jacques sandford at jhu.edu
Fri May 14 07:11:52 PDT 2010


On Fri, 14 May 2010 09:32:31 -0400, Simen kjaeraas  
<simen.kjaras at gmail.com> wrote:

>   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.
>

? is the ternary operator
# is being used as to denote compiler Special Token Sequences


More information about the Digitalmars-d mailing list