Module:rhymes: Difference between revisions

ਕੋਈ ਸੋਧ ਸਾਰ ਨਹੀਂ
No edit summary
No edit summary
 
Line 77: Line 77:
local rhyme2
local rhyme2
if from_secondary[language.code] and mw.ustring.find(rhyme, "ˌ") then
if from_secondary[language.code] and mw.ustring.find(rhyme, "ˌ") then
rhyme2 = mw.ustring.match(rhyme, "ˌ([^ˈ]*)$")
rhyme2 = mw.ustring.match(rhyme, "ˌ([^ˈˌ]*)$")
end
end
rhyme = mw.ustring.match(rhyme, "ˈ(.*)$") or rhyme
rhyme = mw.ustring.match(rhyme, "ˈ(.*)$") or rhyme