Adding final commit for Regex Event Detector (JSP snippet fixes).