Lpeg documentation

Posted by Lavarock on Sat 02 Jul 2016 02:28 PM — 2 posts, 15,077 views.

#0
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.
Australia Forum Administrator #1
Hmm, it looks like Roberto changed the documentation. What I had before was copy and paste from that page, in an earlier form.

I've updated the page, thanks for the notification.