rem: ary = aliasDefs[i].split(/\s*=\s*/); display(getMsg(MSG_FMT_ALIAS, [ary[0], ary[1]])); 
add: ary = aliasDefs[i].match(/^(.*?)\s*=\s*(.*)$/); display(getMsg(MSG_FMT_ALIAS, [ary[1], ary[2]])); 
context: function cmdAlias(e){    var aliasDefs = client.prefs["aliases"];    function getAlias(commandName)    {        for (var i = 0; i < aliasDefs.length; ++i)        {            var ary = aliasDefs[i].split(/\s*=\s*/);            if (ary[0] == commandName)                return [i, ary[1]];        }        return null;    };    var ary;    if (e.commandList == "-")    {        /* remove alias */        ary = getAlias(e.aliasName);        if (!ary)        {            display(getMsg(MSG_NOT_AN_ALIAS, e.aliasName), MT_ERROR);            return;        }                delete client.commandManager.commands[e.aliasName];        arrayRemoveAt(aliasDefs, ary[1]);        aliasDefs.update();        feedback(e, getMsg(MSG_ALIAS_REMOVED, e.aliasName));    }    else if (e.aliasName)    {        /* add/change alias */        client.commandManager.defineCommand(e.aliasName, e.commandList);        ary = getAlias(e.aliasName);        if (ary)            aliasDefs[ary[0]] = e.aliasName + " = " + e.commandList;        else            aliasDefs.push(e.aliasName + " = " + e.commandList);                aliasDefs.update();        feedback(e, getMsg(MSG_ALIAS_CREATED, [e.aliasName, e.commandList]));    }    else    {        /* list aliases */        if (aliasDefs.length == 0)        {            display(MSG_NO_ALIASES);        }        else        {            for (var i = 0; i < aliasDefs.length; ++i)            {                ary = aliasDefs[i].split(/\s*=\s*/);                display(getMsg(MSG_FMT_ALIAS, [ary[0], ary[1]]));            }        }    }}
meta: 1567	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/1567/c838575de634b6552e0ea59e32d9b703d7fad058/commands.js/clean/xul/content/commands.js