Module:tln-conj: Difference between revisions

Nehster9 (talk | contribs)
mNo edit summary
Nehster9 (talk | contribs)
No edit summary
Line 166: Line 166:
local function combine(stem, ending)
local function combine(stem, ending)


    -- ny + i → nye + i
     if mw.ustring.match(stem, "ᠨᠶ$") and
     if mw.ustring.match(stem, "ᠨᠶ$") and
       mw.ustring.match(ending, "^ᠢ") then
       mw.ustring.match(ending, "^ᠢ") then


         return stem .. "ᠡ" .. ending
         ending = mw.ustring.gsub(ending, "^ᠢ", "ᠡ")
     end
     end