Module:Str find word: Difference between revisions

Content deleted Content added
No edit summary
No edit summary
Line 324:
if sSep == nil or sSep == '' then
newSep = defaultSep .. '-'
end
Line 331:
if string.match(sSep, '[%s%w%d]') ~= nil then -- not ok ok
msg = 'Irregular characters in sep: ' .. sSep
newSep = defaultSep .. '_'
end
if sSep == nil or sSep == '' then
newSep = defaultSep .. ';'
end