|
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 [;-)]. Ashwin. -- no signature is a signature.