Content deleted Content added
Petr Matas (talk | contribs) No edit summary |
Petr Matas (talk | contribs) No edit summary |
||
Line 39:
if bestChange then
local fragment = mw.ustring.sub(input, bestStart, bestStop)
result = result .. (plain and bestChange.repl or
mw.ustring.gsub(fragment, bestChange.pattern, bestChange.repl, 1))
end
pos = bestStop + 1
end
return result
|