Module:headword: Difference between revisions

no edit summary
No edit summary
No edit summary
Line 43: Line 43:
Used to exclude characters from the regex above. ]]
Used to exclude characters from the regex above. ]]
local wordPunc = "-־׳״'.·*’་•"
local wordPunc = "-־׳״'.·*’་•"
local notWordPunc = "[^" .. wordPunc .. "]+"
local notWordPunc = "([^" .. wordPunc .. "]+)"