https://en.wikipedia.org/w/index.php?action=history&feed=atom&title=Module%3AUser%3ACscott%2Fllpeg%2FdocModule:User:Cscott/llpeg/doc - Revision history2025-06-09T15:42:39ZRevision history for this page on the wikiMediaWiki 1.45.0-wmf.4https://en.wikipedia.org/w/index.php?title=Module:User:Cscott/llpeg/doc&diff=1189860068&oldid=prevCscott: Describe the llpeg module2023-12-14T13:45:53Z<p>Describe the llpeg module</p>
<p><b>New page</b></p><div>{{Module rating|beta}}<br />
<!-- Add categories where indicated at the bottom of this page and interwikis at Wikidata --><br />
<br />
This is a port to Scribunto lua of [https://github.com/sqmedeiros/lpeglabel lpeglabel], which itself is a minor extension of the lua [https://www.inf.puc-rio.br/~roberto/lpeg/ lpeg] parser generator. The API should be identical to that of lpeglabel, except that the regular expressions are "natively unicode"; that is, the <code>.</code> pattern matches a single unicode codepoint, not a single byte as in the original.<br />
<br />
These files have been packaged using a script to turn them into a single lua file.<br />
<br />
== Usage ==<br />
<code><nowiki>{{</nowiki>#invoke:User:Cscott/llpeg|''function_name''<nowiki>}}</nowiki></code><br />
<br />
<includeonly>{{Sandbox other||<br />
<!-- Categories below this line; interwikis at Wikidata --><br />
<br />
}}</includeonly></div>Cscott