Hi,
Small error in documentation you might want to correct:
On page
http://www.gammon.com.au/scripts/doc.php?lua=lpeg.Cmt
the 'm' in pattern 'string' is undefined.
You might want to copy and paste (including the code) from
http://www.inf.puc-rio.br/~roberto/lpeg/lpeg.html
starting at
A long string in Lua starts with...
and ending with
...discards the capture made by close.
Small error in documentation you might want to correct:
On page
http://www.gammon.com.au/scripts/doc.php?lua=lpeg.Cmt
the 'm' in pattern 'string' is undefined.
You might want to copy and paste (including the code) from
http://www.inf.puc-rio.br/~roberto/lpeg/lpeg.html
starting at
A long string in Lua starts with...
and ending with
...discards the capture made by close.