lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


On Fri, Oct 9, 2015 at 1:00 AM, Soni L. <fakedme@gmail.com> 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 ]].



-- 


Best regards,
Boris Nagaev