Jump to content

Module:User:Cscott/llpeg/doc

From Wikipedia, the free encyclopedia
This is the current revision of this page, as edited by Cscott (talk | contribs) at 13:45, 14 December 2023 (Describe the llpeg module). The present address (URL) is a permanent link to this version.
(diff) ← Previous revision | Latest revision (diff) | Newer revision → (diff)


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}}