var idOrAlias = matchText.match(/bug\s+#?(\d{3,6}|[^\s,]{1,20})/i)[1]; 
var idOrAlias = matchText.match(/bug\s+#?(\d+|[^\s,]{1,20})/i)[1]; 
function insertBugzillaLink (matchText, containerTag, eventData){    var bugURL;    if (eventData.channel)        bugURL = eventData.channel.prefs["bugURL"];    else if (eventData.network)        bugURL = eventData.network.prefs["bugURL"];    else        bugURL = client.prefs["bugURL"];    if (bugURL.length > 0)    {        var idOrAlias = matchText.match(/bug\s+#?(\d{3,6}|[^\s,]{1,20})/i)[1];        var anchor = document.createElementNS("http://www.w3.org/1999/xhtml",                                              "html:a");        anchor.setAttribute("href", bugURL.replace("%s", idOrAlias));        anchor.setAttribute("class", "chatzilla-link");        anchor.setAttribute("target", "_content");        insertHyphenatedWord(matchText, anchor);        containerTag.appendChild(anchor);    }    else    {        insertHyphenatedWord(matchText, containerTag);    }}
5872	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/5872/4dd3cfd5e21f2d1ce5b174a75321e4671b4a08e6/static.js/buggy/extensions/irc/xul/content/static.js