Content deleted Content added
attempt to find Greek character |
log characters belonging to each script |
||
Line 79:
end)
local script_to_char_set = {}
script_to_char_set[script] = script_to_char_set[script] or {}
script_to_char_set[script][char] = true
end
mw.log(
table.concat(
fun.
function (
local char_list = m_table.keysToList(char_set)
▲ return Unicode_data.lookup_script(get_codepoint(char)) == "Grek"
end,
m_table.sortedPairs(script_to_char_set)),
▲ "[%z\1-\127\194-\244][\128-\191]*",
▲ return ("U+%04X"):format(get_codepoint(char))
return ('* <div style="overflow-wrap: break-word;">%s</div><br>%s')
|