lua-users home
lua-l archive

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


On Wed, Apr 08, 2015 at 05:11:43PM -0400, Rena wrote:
> On Wed, Apr 8, 2015 at 2:38 PM, William Ahern
<snip>
> > Now modify yours to support escaping $, like "Hello \$planet!". Note should
> > also permit escaping the escape character, "Hello \\$planet!".
>
> That would be interesting, because backslash is also an escape character:
> > =#"a\$b"
> stdin:1: invalid escape sequence near '"a\$'
> > =#"a\\$b"
> 4
> 
> Do you want leaning toothpick syndrome? Cuz that's how you get leaning
> toothpick syndrome. :-)

Is that how you get ants :)