var ary = msg.match(/^\[(\S+)\]\s+/); 
var ary = msg.match(/^\[([^ ]+)\]\s+/); 
function my_notice (e){    var msg = e.decodeParam(2);    var displayMailto = client.prefs["munger.mailto"];    var ary = msg.match(/^\[(\S+)\]\s+/);    if (ary)    {        var channel = e.server.getChannel(ary[1]);        if (channel)        {            client.munger.getRule(".mailto").enabled = displayMailto;            channel.display(msg, "NOTICE", this, e.server.me);            client.munger.getRule(".mailto").enabled = false;            return;        }    }    client.munger.getRule(".mailto").enabled = displayMailto;    this.display(msg, "NOTICE", this, e.server.me);    client.munger.getRule(".mailto").enabled = false;}
5872	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/5872/b9e1c87023084f53d448f0950373036c39c91d75/handlers.js/clean/extensions/irc/xul/content/handlers.js