lua-users home
lua-l archive


In the LPEG documentation on it says for lpeg.Cc in the table:
    lpeg.Cc(values) the given values (matches the empty string)
whereas in the description furtheron it reads:
    lpeg.Cc ({value})
These descriptions are different. Both in the braces as well as in the singular/plural. Putting a table with {...} as an argument generates an error in the Lua-interpreter.
If it is a typo in the docs, I will be glad -- however small this contribution is -- to help iron it out.

Hans van der Meer