[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Why non-escaped newlines are prohibited in single-quoted string literals?
- From: "Soni L." <fakedme@...>
- Date: Mon, 30 Jan 2017 10:49:56 -0200
On 30/01/17 02:47 AM, Charles Heywood wrote:
\[[ works fine IMO; \[==[ so there's no debate on whether it should be
before or after the equals. i'm probably going to write a really quick
function `e` to shove somewhere that works like e[[te\nxt]] now that i
think about this.
Yeah, I guess nobody minds parsing a 1MB string at runtime...
Anyway, if you really wanna do this, modify something that already exists:
https://github.com/SoniEx2/Stuff/blob/master/lua/String.lua
On Sun, Jan 29, 2017 at 6:42 PM Egor Skriptunoff
<egor.skriptunoff@gmail.com <mailto:egor.skriptunoff@gmail.com>> wrote:
On Mon, Jan 30, 2017 at 1:34 AM, Soni L. <fakedme@gmail.com
<mailto:fakedme@gmail.com>> wrote:
I wish we had something slightly different:
[\[can\nuse\nescape\ncodes\nhere]]
[===\[...]===]
or
[\===[...]===]
?
--
--
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.