45,640
edits
No edit summary |
No edit summary |
||
Line 576: | Line 576: | ||
if data.affix then | if data.affix then | ||
if mw.ustring.match(data.affix, "%-%s%-") then | if mw.ustring.match(data.affix, "^%-[^-]*%-$") then | ||
table.insert(data.categories, data.lang:getCanonicalName() .. " words infixed with " .. data.affix) | |||
elseif mw.ustring.match(data.affix, "%-%s%-") then | |||
table.insert(data.categories, data.lang:getCanonicalName() .. " words circumfixed with " .. data.affix) | table.insert(data.categories, data.lang:getCanonicalName() .. " words circumfixed with " .. data.affix) | ||
elseif mw.ustring.match(data.affix, "%-$") then | elseif mw.ustring.match(data.affix, "%-$") then |