[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Escaping spaces
- From: dyngeccetor8 <dyngeccetor8@...>
- Date: Sun, 7 Jan 2018 08:04:26 +0300
Wow, nice hack!
But I think \z should remove space characters even they are escaped. (So \z
processing must be run at raw string data.)
-- Martin
On 01/07/2018 06:01 AM, Soni "They/Them" L. wrote:
> 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.
>