Module:siwa-pron: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 28: | Line 28: | ||
local word = mw.title.getCurrentTitle().text | local word = mw.title.getCurrentTitle().text | ||
local pattern = "^(" .. initial .. ")?(" .. vocalic .. ")?(" .. internal .. ")?" | local pattern = "^(" .. initial .. ")?(" .. vocalic .. ")?(" .. internal .. ")?" | ||
return m_su.capturing_split(word, pattern) | return m_su.capturing_split(word, pattern)[1] | ||
end | end | ||