Module:siwa-noun/data: Difference between revisions

no edit summary
No edit summary
No edit summary
Line 2: Line 2:


local sub = mw.ustring.sub
local sub = mw.ustring.sub
local m = mw.ustring.match
local match = mw.ustring.match


data["a"] = {
data["a"] = {
Line 15: Line 15:
data.forms["u"] = {stem}
data.forms["u"] = {stem}
if stem:m("m.$") or stem:m("mm.$") then
if stem:match("m.$") or stem:match("mm.$") then
data.forms["m"] = {""}
data.forms["m"] = {""}
end
end