45,363
edits
No edit summary |
No edit summary |
||
Line 26: | Line 26: | ||
function export.syllable(frame) | function export.syllable(frame) | ||
local word = mw.title.getCurrentTitle().text | local word = mw.title.getCurrentTitle().text | ||
local pattern = "^(" .. initial .. ")?(" .. vocalic .. ")?(" .. internal .. ")?" | local pattern = "^(" .. initial .. ")?(" .. vocalic .. ")?(" .. internal .. ")?" | ||
x = m_su.capturing_split(word, pattern) | |||
return | return x[1] | ||
end | end | ||