45,626
edits
No edit summary |
No edit summary |
||
Line 66: | Line 66: | ||
["Э"]='E', ["э"]='e', | ["Э"]='E', ["э"]='e', | ||
["[ЬІ]"]= | ["[ЬІ]"]='J', ["[ьі]"]='j', | ||
["[Ъъ]"]="'", | ["[Ъъ]"]="'", | ||
["([LNln])j([aeiouy])"]='%1y%2' | |||
}; | }; | ||
Line 80: | Line 81: | ||
end | end | ||
text = mw.ustring.toNFD(text):gsub(M,A):gsub(A .. D, DA):gsub(D .. A, DA) | text = mw.ustring.toNFD(text):gsub("([LNln])j([aeiouy])", "%1y%2") | ||
:gsub(M,A) | |||
:gsub(A .. D, DA):gsub(D .. A, DA) | |||
return mw.ustring.toNFC(text) | return mw.ustring.toNFC(text) |