lua-users home
lua-l archive

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




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 <[email protected] <mailto:[email protected]>> wrote:

    On Mon, Jan 30, 2017 at 1:34 AM, Soni L. <[email protected]
    <mailto:[email protected]>> 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.