Content deleted Content added
Ohconfucius (talk | contribs) tweak for separator to limit false positives |
Ohconfucius (talk | contribs) No edit summary |
||
Line 666:
regex(/({{) ?(url) ?(?=\|)/gi, '$1$2');
regex(/({{url\|)[ ]*https?:\/\/(?:www\.|)([^\}]+}})[ ]*(?=[\n\r])/gi, '$1$2');
regex(/(
regex(/((?:homepage|website)[ ]*=)[ ]*\[https?:\/\/(?:www\.|)([^\s\[\]]+) official (?:web|)site\](?=[\s])/gi, '$1{{url|$2}}');
regex(/({{url\|)([^\}]+)\|\2}}(?=[\s])/gi, '$1$2}}');
|