45,640
edits
No edit summary |
No edit summary |
||
Line 36: | Line 36: | ||
local C = match(word, consonant .. "*") | local C = match(word, consonant .. "*") | ||
local V = match(word, consonant .. "*(" .. vowel .. "*)") | local V = match(word, consonant .. "*(" .. vowel .. "*)") | ||
local r = match(word, C .. V .. "(.*)") | local r = #V == 1 and V or match(word, C .. V .. "(.*)") | ||
local v = sub(V, 1, 1) | local v = sub(V, 1, 1) | ||