Module:ábḫ-ipa: Difference between revisions

no edit summary
No edit summary
No edit summary
Line 51: Line 51:
for i,val in ipairs(word) do
for i,val in ipairs(word) do
if i == 1 then
if i == 1 then
table.insert(result, val)
elseif i == 2 then
if mw.ustring.match(word[i], "[íîǐéêěóôǒÍáâǎÁÂǍÓÔǑ]") then
if mw.ustring.match(word[i], "[íîǐéêěóôǒÍáâǎÁÂǍÓÔǑ]") then
table.insert(result, "ˈ")
table.insert(result, "ˈ")