Module:kilta-pron: Difference between revisions

Jump to navigation Jump to search
Undo revision 367751 by Sware (talk)
No edit summary
Tag: Reverted
(Undo revision 367751 by Sware (talk))
Tag: Undo
Line 63: Line 63:
local syllable = "(" .. consonants .. "*)(" .. vowels .. "ː?)(" .. consonants .. "-)"
local syllable = "(" .. consonants .. "*)(" .. vowels .. "ː?)(" .. consonants .. "-)"
term = term:gsub(syllable, "·%1%2%3·")
term = term:gsub(syllable, "·%1%2%3·"):gsub("^·", ""):gsub("·$", ""):gsub("··+", "·")
term = term:gsub("^·", ""):gsub("·$", ""):gsub("··+", "·")
term = term:gsub("·(" .. consonants .. ")ː·", "%1·%1")
term = term:gsub("·(" .. consonants .. ")ː·", "%1·%1")

Navigation menu