[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Simple Question
- From: Ben Kelly <ranavin@...>
- Date: Thu, 02 Oct 2008 14:07:24 -0400
Jerome Vuarand wrote:
> 2008/10/2 Xruptor <derkyle@gmail.com>:
>> This is why I would like to strip all magic characters from a string before
>> parsing ;) Help is always appreciated.
>
> function escape(str)
> return (str:gsub("%W", "%%%1"))
> end
What Jerome said.
Of course, if you'd actually stayed connected to IRC rather than
quitting when your question wasn't answered /immediately/, you might
have had the answer even earlier.
Ben