rem: munger.addRule ("ear", /(?:\s|^)(\(\*)(?:\s|$)/, insertEar, false); 
context: function initMunger(){    client.linkRE =        /((\w[\w-]+):[^<>\[\]()\'\"\s\u201d]+|www(\.[^.<>\[\]()\'\"\s\u201d]+){2,})/;        var munger = client.munger = new CMunger();    munger.addRule ("quote", /(``|'')/, insertQuote);    munger.addRule ("bold", /(?:\s|^)(\*[^*()]*\*)(?:[\s.,]|$)/,                     "chatzilla-bold");    munger.addRule ("underline", /(?:\s|^)(\_[^_()]*\_)(?:[\s.,]|$)/,                    "chatzilla-underline");    munger.addRule ("italic", /(?:\s|^)(\/[^\/()]*\/)(?:[\s.,]|$)/,                    "chatzilla-italic");    /* allow () chars inside |code()| blocks */    munger.addRule ("teletype", /(?:\s|^)(\|[^|]*\|)(?:[\s.,]|$)/,                    "chatzilla-teletype");    munger.addRule (".mirc-colors", /(\x03((\d{1,2})(,\d{1,2}|)|))/,                    mircChangeColor);    munger.addRule (".mirc-bold", /(\x02)/, mircToggleBold);    munger.addRule (".mirc-underline", /(\x1f)/, mircToggleUnder);    munger.addRule (".mirc-color-reset", /(\x0f)/, mircResetColor);    munger.addRule (".mirc-reverse", /(\x16)/, mircReverseColor);    munger.addRule ("ctrl-char", /([\x01-\x1f])/, showCtrlChar);    munger.addRule ("link", client.linkRE, insertLink);    munger.addRule ("mailto",       /(?:\s|\W|^)((mailto:)?[^<>\[\]()\'\"\s\u201d]+@[^.<>\[\]()\'\"\s\u201d]+\.[^<>\[\]()\'\"\s\u201d]+)/i,                    insertMailToLink);    munger.addRule ("bugzilla-link", /(?:\s|\W|^)(bug\s+#?\d{3,6})/i,                    insertBugzillaLink);    munger.addRule ("channel-link",                /(?:\s|\W|^)[@+]?(#[^<>\[\](){}\"\s\u201d]*[^:,.<>\[\](){}\'\"\s\u201d])/i,                    insertChannelLink);        munger.addRule ("face",         /((^|\s)[\<\>]?[\;\=\:]\~?[\-\^\v]?[\)\|\(pP\<\>oO0\[\]\/\\](\s|$))/,         insertSmiley);    munger.addRule ("ear", /(?:\s|^)(\(\*)(?:\s|$)/, insertEar, false);    munger.addRule ("rheet", /(?:\s|\W|^)(rhee+t\!*)(?:\s|$)/i, insertRheet);    munger.addRule ("word-hyphenator",                    new RegExp ("(\\S{" + client.MAX_WORD_DISPLAY + ",})"),                    insertHyphenatedWord);    client.enableColors = client.prefs["munger.colorCodes"];    for (var entry in client.munger.entries)    {        var branch = client.prefManager.prefBranch;        if (entry[0] != ".")        {            try            {                munger.entries[entry].enabled =                     branch.getBoolPref("munger." + entry);            }            catch (ex)            {                // nada            }        }    }}
meta: 1567	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/1567/c6101b49aef97cf47069c333c0e54bcdd4a66616/munger.js/clean/xul/lib/munger.js