Module:Unicode chart/sandbox: Difference between revisions

Content deleted Content added
No edit summary
No edit summary
Line 85:
local function splitColonList(strList)
local tab = {}
local abbssegments = mw.text.split(strList, '[;\n\t]')
for _,v in pairs(abbssegments) do
local tmp = mw.text.split(v, ':')
forif _,vtmp[1] inand pairs(tmp)[2] dothen
if tab[fromHex(tmp[1])] and= mw.text.trim(tmp[2] then)
tab[fromHex(tmp[1])] = mw.text.trim(tmp[2])
end
end
end