Content deleted Content added
count successful replacements |
show replacements |
||
Line 34:
var count = 0;
var replacements = [];
contents = contents.replace(
/((?:%%\d+%%)+)([\.\,\;\:\)]{1,3})/,
Line 39 ⟶ 40:
{
count += 1;
var replacement = capture2 + capture1;
replacements.push(replacement);
return capture2 + capture1;
}
);
mw.notify(i + " corrections made
contents = contents.replace(
|