Module:siwa-noun/common: Difference between revisions

no edit summary
No edit summary
No edit summary
Line 31: Line 31:
if word:match("<.*>") then
if word:match("<.*>") then
lenited = gsub(word, "<" .. regex .. ">", repl, 1)
lenited = gsub(word, "<" .. regex .. ">", repl, 1)
--lenited = gsub(lenited, "<(.*)>", "%1")
lenited = gsub(lenited, "<(.*)>", "r")
else
else
lenited = gsub(word, regex, repl, 1)
lenited = gsub(word, regex, repl, 1)