  msg = msg.replace(new RegExp(client.linkRE.source, "g"), function(url) { return url.replace(/%[BC][0-9A-Fa-f]/g, function(hex, index) {   return (("%" == url.substr(index - 1, 1)) ? "" : "%") + hex; }); });  
function replaceColorCodes(msg){    // mIRC codes: underline, bold, Original (reset), colors, reverse colors.    msg = msg.replace(/(^|[^%])%U/g, "$1\x1f");    msg = msg.replace(/(^|[^%])%B/g, "$1\x02");    msg = msg.replace(/(^|[^%])%O/g, "$1\x0f");    msg = msg.replace(/(^|[^%])%C/g, "$1\x03");    msg = msg.replace(/(^|[^%])%R/g, "$1\x16");    // %%[UBOCR] --> %[UBOCR].    msg = msg.replace(/%(%[UBOCR])/g, "$1");    return msg;}
5459	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/5459/525079d623838b579c1f6b24f005bf10af514577/static.js/buggy/extensions/irc/xul/content/static.js