[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: literal find?
- From: "Ashwin Hirschi" <deery@...>
- Date: Tue, 15 Mar 2005 02:09:02 +0100
From the Lua manual:
string.find (s, pattern [, init [, plain]])
Oooops... thanks :))
Does the same apply to string.gsub()?
Looking at the manual doesn't reveal any 'plain' option for gsub():
string.gsub (s, pat, repl [, n])
No, there isn't.
But, of course you can easily use gsub to escape any/all magic characters for you.
That's left as an exercise for the reader [;-)].
no signature is a signature.