rem: categoriesList[i].replace( /[ -_.*?"']/g, "" ); 
add: categoriesList[i] = categoriesList[i].replace(' ','_'); 
context: CalendarView.prototype.setEventboxClass = function calView_setEventboxClass(aEventBox, aEvent, aViewType){   // XXX this isn't really const, of course; need to get it from prefs   const containerName = "default";   // set the event box to be of class <aViewType>-event-class   // and the appropriate calendar-color class   var categoriesClassList = "";   if( aEvent.categories != null ) {      var categoriesList = aEvent.categories.split(",");      for ( var i=0; i<categoriesList.length; ++i ) {         // Remove illegal chars.         categoriesList[i].replace( /[ -_.*?"']/g, "" );         categoriesClassList = categoriesClassList + "event-category-" + categoriesList[i].toLowerCase();      }   }   aEventBox.setAttribute("class", aViewType + "-event-class " + containerName + " " + categoriesClassList);}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/1be31ad81a9a6877b421130ae9b85aad08e4e3ab/calendarWindow.js/buggy/calendar/resources/content/calendarWindow.js