lua-users home
lua-l archive

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


With \z, multiline strings are nicer, as they can be indented:

print("{\n\z
    \x20   \"hello\": \"world\"\n\z
    }")

Sadly, as that example shows, I need to use an "\x20".

It would be nice if "\ " (or, arguably, any other whitespace) was an explicit way to break a \z.

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