Re: Escaping spaces
[
Date Prev][
Date Next][
Thread Prev][
Thread Next]
[
Date Index]
[
Thread Index]
- Subject: Re: Escaping spaces
- From: nobody <nobody+lua-list@...>
- Date: Sun, 7 Jan 2018 08:03:21 +0100
2018年01月07日 5:01 GMT+02:00 Soni "They/Them" L. <fakedme@gmail.com>:
print("{\n\z
\x20 \"hello\": \"world\"\n\z
}")
On 2018年01月07日 07:48, Dirk Laurie wrote
Isn't that just a tortuous way of coding something that Lua can do
much more conveniently?
print [[{
"hello": "world"
}]]
Not if CR-LF must not be normalized (e.g. binary data or fixed format
like HTTP / …). Then you're forced to use "normal" strings.
-- nobody