El 06/10/2017 17:30, Craig Parker-Feldmann escribió:

What I want to know is: am I going about this in a sensible way? Is
using the “string.gsub” function a good idea?

I think there's no reason not to use it.

I am aware of the LPEG library, but, to be honest, learning it is pretty
daunting.

You can have a look at the re library:

http://www.inf.puc-rio.br/~roberto/lpeg/re.html

Javier

Reply via email to