Module:pollasena-roots: Difference between revisions

No edit summary
Tags: Mobile edit Mobile web edit
No edit summary
Line 206: Line 206:
table.insert(terms, item)
table.insert(terms, item)
local cat_term = item.term
local cat_term = "*" .. gsub(item.term, "^*+", "") -- ensure only one asterisk
if code == "wasc" then -- Wascotl root and suffix handling
if code == "wasc" then -- Wascotl root and suffix handling
local suffix = match(cat_term, "^*?%w+%-(%w+)$")
local suffix = match(cat_term, "^*%w+%-(%w+)$")
if wasc_suffixes[suffix] then
if wasc_suffixes[suffix] then