Module:anui-headword: Difference between revisions

Jump to navigation Jump to search
no edit summary
No edit summary
No edit summary
Line 35: Line 35:
local C = match(word, "^" .. vowel .. "?(" .. consonant .. "*)")
local C = match(word, "^" .. vowel .. "?(" .. consonant .. "*)")
local V = match(word, consonant .. "*(" .. vowel .. "*)")
local V = match(word, consonant .. "*(" .. vowel .. "*)")
local r = #V == 1 and V or match(word, C .. "(.*)")
local r2 = #V == 1 and V or match(word, C .. "(.*)")
local v = sub(V, 1, 1)
local v = sub(V, 1, 1)

Navigation menu