Module:siwa-noun/common: Difference between revisions

Jump to navigation Jump to search
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")
else
else
lenited = gsub(word, regex, repl, 1)
lenited = gsub(word, regex, repl, 1)

Navigation menu