lua-users home
lua-l archive

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

On 16-08-31 10:38 AM, Soni L. wrote:
> In Lua, you can't put a line break in the middle of a string. However,
> ever since Lua 5.2, newlines are equivalent to whitespace everywhere else.

There is no such problem with long-quoted strings.

For short-quoted-string there is magical escape sequence "\" <LF>.

If apply your proposal
1) "\" <LF> sequence becomes redundant
2) Possible tails space truncations after saving