This is a port to Scribunto lua of lpeglabel, which itself is a minor extension of the lua lpeg parser generator. The API should be identical to that of lpeglabel, except that the regular expressions are "natively unicode"; that is, the . pattern matches a single unicode codepoint, not a single byte as in the original.

These files have been packaged using a script to turn them into a single lua file.

Usage

edit

{{#invoke:User:Cscott/llpeg|function_name}}