10,794
edits
TheNightAvl (talk | contribs) No edit summary |
TheNightAvl (talk | contribs) No edit summary Tags: Mobile edit Mobile web edit Advanced mobile edit |
||
Line 1,898: | Line 1,898: | ||
IPA = mw.ustring.gsub(IPA, "^" .. V_short_regex, "%1") -- delete short vowel | IPA = mw.ustring.gsub(IPA, "^" .. V_short_regex, "%1") -- delete short vowel | ||
IPA = mw.ustring.gsub(IPA, "^[" .. C_regex .. "]+", "") -- delete consonant cluster | IPA = mw.ustring.gsub(IPA, "^[" .. C_regex .. "]+", "") -- delete consonant cluster | ||
if mw.ustring.find(IPA, "^".. V_long_regex) then return nil end | if mw.ustring.find(IPA, "^".. V_long_regex) or mw.ustring.find(IPA, "^[uyiɔœɛɤa][" .. C_regex .. "]*$") then return nil end | ||
while true do | while true do |