Module:Str find word: Difference between revisions

Content deleted Content added
No edit summary
No edit summary
Line 320:
local msg = ''
-- comma-space? / does not matter
local newSep = defaultSep
if sSep == nil or sSep == '' then return
newSep = defaultSep end.. '$'
end
 
sSep = decodeUnicode(sSep or '')
if string.match(sSep, '[%s%w%d]') ~= nil then -- not ok ok
msg = 'Irregular characters in sep: ' .. sSep
returnnewSep = defaultSep .. '_'
end
if sSep == nil or sSep == '' then
newSep return= defaultSep end .. ';'
end
return sSep .. 'x'
return sSep .. 'x'newSep
end