User:Ohconfucius/script/formatgeneral.js: Difference between revisions

Content deleted Content added
No edit summary
reorder for protection of 'convoy' strings
Line 532:
regex(/(\{Infobox)( non Test)( cricket)/gi, protect_function);
regex(/(.)((?:Chairman's|President'?s) (?:XI|Cup))(.)/g, protect_function);
regex(/(Convoy(?: |\s))(\w{2,3}(?: |\s)\d\d(?: |\s)?\w{2,3})(.)/gi, protect_function);
regex(/(.)(100\scrore club)(.)/gi, protect_function);
regex(/(.)(Conference of Presidents)(.)/g, protect_function);
Line 775 ⟶ 774:
regex(/(\{\{\w*)([^\|=\[\]]*)(\}\})/gi, protect_function);
regex(/(<ref name=)([^<>]*)(>)/gi, protect_function);
regex(/(Convoy(?:&nbsp;|\s))(\w{2,3}(?:&nbsp;|\s)\d\d(?:&nbsp;|\s)?\w{2,3})(.)/gi, protect_function);
regex(/(\{Infobox)( non Test)( cricket)/gi, protect_function);
regex(/(\d[]*)(Cr App R)(.)/g, protect_function);