Content deleted Content added
no "this" in editor function |
〈"match(/^{{Infobox( |\n)*?\n}}/))" → "match(/^{{Infobox(?: |\n)*?\n}}/i))", -"var changes = []"〉 |
||
Line 24:
// special case the first Infobox, if there is one
if (input.match(/^{{Infobox(?:.|\n)*?\n}}/i)) {
// var left = RegExp.leftContext;
var infobox = RegExp.lastMatch;
Line 49:
location_canonicalize.canonicalizeString = function(input, changes) {
var result = '';
while (input.match(/\[\[ *(?:([^|\]]+?) *\| *)?([^\]]+?) *\]\]/)) {
|