45,660
edits
No edit summary |
No edit summary |
||
Line 35: | Line 35: | ||
for ending, decl in pairs(endings) do | for ending, decl in pairs(endings) do | ||
if find(word, ending .. "$") then | if find(word, ending .. "$") then | ||
return decl, {sub(word, 1, -(#ending + 1))} | return decl, table.concat({sub(word, 1, -(#ending + 1))}) | ||
end | end | ||
end | end |