Module:siwa-noun: Difference between revisions

No edit summary
No edit summary
Line 38: Line 38:
local pattern = "(" .. xc .. "?" .. vowels .. "+ː?" .. xc .. "*)"
local pattern = "(" .. xc .. "?" .. vowels .. "+ː?" .. xc .. "*)"
term, n = gsub(term, pattern, "%1")
term, n = gsub(term, pattern, "%1")
term = gsub(term, pattern, "%1", 1)
term = gmatch(term, pattern)
return term, n
return term, n