rem: ("link", /((http|mailto|ftp|irc)\:\/\/[^\)\s]*|www\.\S+\.\S[^\)\s]*)/, 
add: ("link", /((\w+)\:\/\/[^\<\>\(\)\'\"\s]*|www\.[^\<\>\(\)\'\"\s]+\.[^\<\>\(\)\'\"\s]*)/, 
context: function initHost(obj){    client.commands = new CCommandManager();    addCommands (obj.commands);        obj.networks = new Object();    obj.eventPump = new CEventPump (200);        obj.networks["efnet"] =	new CIRCNetwork ("efnet", [{name: "irc.magic.ca", port: 6667},                               {name: "irc.freei.net", port: 6667},                               {name: "irc.cs.cmu.edu",   port: 6667}],                         obj.eventPump);    obj.networks["moznet"] =	new CIRCNetwork ("moznet", [{name: "irc.mozilla.org", port: 6667}],                         obj.eventPump);    obj.networks["hybridnet"] =        new CIRCNetwork ("hybridnet", [{name: "irc.ssc.net", port: 6667}],                         obj.eventPump);    obj.networks["slashnet"] =        new CIRCNetwork ("slashnet", [{name: "irc.slashnet.org", port:6667}],                         obj.eventPump);    obj.networks["dalnet"] =        new CIRCNetwork ("dalnet", [{name: "irc.dalnet.org", port:6667}],                         obj.eventPump);    obj.networks["undernet"] =        new CIRCNetwork ("undernet", [{name: "irc.undernet.org", port:6667}],                         obj.eventPump);        obj.primNet = obj.networks["efnet"];    if (DEBUG)        /* hook all events EXCEPT server.poll and *.event-end types         * (the 4th param inverts the match) */        obj.eventPump.addHook ([{type: "poll", set: /^(server|dcc-chat)$/},                               {type: "event-end"}], event_tracer,                               "event-tracer", true /* negate */,                               false /* disable */);    obj.munger = new CMunger();    obj.munger.enabled = true;    obj.munger.addRule ("you-talking-to-me?", matchMyNick, "");    obj.munger.addRule ("im-stalking-you", matchMyNick, "" );    obj.munger.addRule        ("link", /((http|mailto|ftp|irc)\:\/\/[^\)\s]*|www\.\S+\.\S[^\)\s]*)/,         insertLink);    obj.munger.addRule        ("face",         /((^|\s)[\<\>]?[\;\=\:\8]\~?[\-\^\v]?[\)\|\(pP\<\>oO0\[\]\/\\](\s|$))/,         insertSmiley);    obj.munger.addRule ("rheet", /(rhee+t\!*)/i, "rheet");    obj.munger.addRule ("bold", /(\*[^\*]*\*)/, "bold");    obj.munger.addRule ("italic", /[^sS](\/[^\/]*\/)/, "italic");    obj.munger.addRule ("teletype", /(\|[^|]*\|)/, "teletype");    obj.munger.addRule ("underline1", /^(\_[^\_]*\_)/, "underline");    obj.munger.addRule ("underline2", /\W(\_[^\_]*\_)/, "underline");         //obj.munger.addRule ("strikethrough", /(\-.*\-)/, "strikethrough");    obj.munger.addRule ("smallcap", /(\#[^\#]*\#)/, "smallcap");    obj.munger.addRule ("word-hyphenator",                        new RegExp ("(\\S{" + client.MAX_WORD_DISPLAY + ",})"),                        insertHyphenatedWord);    obj.rdf = new RDFHelper();        obj.rdf.initTree("user-list");    obj.rdf.setTreeRoot("user-list", obj.rdf.resNullChan);    }
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/986b0c93acf7f6d653ec18a5c55046c281db2820/static.js/buggy/extensions/irc/xul/content/static.js