Generates <span class="searchmatch">patterns</span> for Lua <span class="searchmatch">patterns</span> or regular expressions, to be put inside set notation: [...] or [^...]. {{#invoke:<span class="searchmatch">Unicode</span> <span class="searchmatch">data</span>/<span class="searchmatch">patterns</span>|make_<span class="searchmatch">pattern</span>|module=Module:Unicode...
function make_<span class="searchmatch">Unicode</span>_<span class="searchmatch">data</span>_<span class="searchmatch">documentation</span>(title, cats) local subpage, first_three_of_code_point = title.fullText:match("^Module:<span class="searchmatch">Unicode</span> <span class="searchmatch">data</span>/([^/]+)/(%x%x%x)$")...
recognition from the script <span class="searchmatch">patterns</span> in Module:scripts/<span class="searchmatch">data</span>. It must be regenerated whenever script <span class="searchmatch">patterns</span> are added or modified. The highlight_dump...
block_<span class="searchmatch">data</span> = require "Module:<span class="searchmatch">Unicode</span> <span class="searchmatch">data</span>/blocks" -- Add position of range in the array of blocks to the range tables. for i, range in ipairs(block_<span class="searchmatch">data</span>)...
export.usplit(text, <span class="searchmatch">pattern</span>, plain) -- naive implementation if plain then -- proper <span class="searchmatch">unicode</span> handling is unnecessary for plain <span class="searchmatch">patterns</span> return export.split(text...
function make_<span class="searchmatch">Unicode</span>_<span class="searchmatch">data</span>_<span class="searchmatch">documentation</span>(title, cats) local subpage, first_three_of_code_point = title.fullText:match("^Module:<span class="searchmatch">Unicode</span> <span class="searchmatch">data</span>/([^/]+)/(%x%x%x)$")...
== "<span class="searchmatch">Unicode</span>_<span class="searchmatch">data</span>" then local val = require "Module:<span class="searchmatch">Unicode</span> <span class="searchmatch">data</span>" self[k] = val return val end end }) local function unique_matches(<span class="searchmatch">pattern</span>, text)...
script. The character classes are the same as those in Lua search/replace <span class="searchmatch">patterns</span>, but without the surrounding [ ] (these are implicitly added). They also...
-- Compiled from http://www.<span class="searchmatch">unicode</span>.org/Public/UNIDATA/Blocks.txt. local blocks = { { 0x000000, 0x00007F, "Basic Latin" ...
manually. -- NOTE: \p{N} *MUST* be defined according to the same version of <span class="searchmatch">Unicode</span> that -- the sanitizer uses in order to remain in sync. As of September...