|
On 24 September 2013 14:29, Jayanth Acharya <jayachar88@gmail.com> wrote:Yep, it's a separate module included with LPeg[1]. It's mostly PEG
> Somewhat confused... isn't the LPEG module included using:
> require("lpeg")
> and not:
> require("re")
>
> Is it the regex emulation done using LPEG ?
notation[2] with a few Lua specific extras. I'm not sure if it was the
best example to use but I find it much clearer to read.
[1]: http://www.inf.puc-rio.br/~roberto/lpeg/re.html
[2]: http://en.wikipedia.org/wiki/Parsing_expression_grammar#Examples