[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Syntax problem with "["
- From: Hisham <h@...>
- Date: Thu, 30 Jun 2016 22:53:40 -0300
On 1 July 2016 at 07:34, Martin <eden_martin_fuhrspam@gmx.de> wrote:
> In lua key-value pair in table may be defined as
>
> "[" <expr> "]" "=" <expr>
>
> How you this is correctly to handle cases like "[[[\]]] = [[\\]]"
> (mapping backspace to quoted version)? For me it looks like syntax flaw.
You can avoid this by adding a space:
t = { [ [[\]] ] = [[\\]] }
-- Hisham