[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: [Suggestion] Define t[[]] to index t with a long string
- From: Nagaev Boris <bnagaev@...>
- Date: Fri, 9 Oct 2015 01:12:02 +0300
On Fri, Oct 9, 2015 at 1:00 AM, Soni L. <firstname.lastname@example.org> wrote:
> I sometimes don't want to escape strings (so that the human reader can read
> them literally instead of trying to figure out the escapes), and adding
> spaces around the long strings just doesn't look as good. t[[]] is
> currently a syntax error and t[[======]] is currently a function call.
> Disclaimer: these emails may be made public at any given time, with or
> without reason. If you don't agree with this, DO NOT REPLY.
t[[[xxx]]] is parsed as t [[ [xxx ]] and ]. String is started with
first occurrence of [[ and is ended with first occurrence ]].