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
 
newSep = sSep
sSep = decodeUnicode(sSep or '')
if string.match(sSep, '[%s%w%d]') ~= nil then -- not ok ok
Line 336 ⟶ 337:
newSep = defaultSep .. ';'
end
newSep = sSep
return newSep