https://en.wikipedia.org/w/index.php?action=history&feed=atom&title=Module%3AUser%3ACscott%2Fllpeg%2Fdoc Module:User:Cscott/llpeg/doc - Revision history 2025-06-09T15:42:39Z Revision history for this page on the wiki MediaWiki 1.45.0-wmf.4 https://en.wikipedia.org/w/index.php?title=Module:User:Cscott/llpeg/doc&diff=1189860068&oldid=prev Cscott: Describe the llpeg module 2023-12-14T13:45:53Z <p>Describe the llpeg module</p> <p><b>New page</b></p><div>{{Module rating|beta}}<br /> &lt;!-- Add categories where indicated at the bottom of this page and interwikis at Wikidata --&gt;<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 &quot;natively unicode&quot;; that is, the &lt;code&gt;.&lt;/code&gt; 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 /> &lt;code&gt;&lt;nowiki&gt;{{&lt;/nowiki&gt;#invoke:User:Cscott/llpeg|&#039;&#039;function_name&#039;&#039;&lt;nowiki&gt;}}&lt;/nowiki&gt;&lt;/code&gt;<br /> <br /> &lt;includeonly&gt;{{Sandbox other||<br /> &lt;!-- Categories below this line; interwikis at Wikidata --&gt;<br /> <br /> }}&lt;/includeonly&gt;</div> Cscott