[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: unescape lua string (opposite of %q)
- From: Luiz Henrique de Figueiredo <lhf@...>
- Date: Sat, 5 Jun 2010 03:14:24 -0300
> local input = [[line1\nline2]]
> local output = loadstring("return \"" .. input .. "\"")()
Does not work if input contains double quotes.