lua-users home
lua-l archive

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



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 [;-)].

Ah... I forgot the customary exercise hint:

Use a capture in the gsub pattern and a *function* for the repl parameter.

[:-)]

Ashwin.
--
no signature is a signature.