Scripting

JSP RegEX fails with error Unexpected quantifier

Posted on

JSP RegEX fails with error Unexpected quantifier This is a quick article to explain about JSP RegEX fails with error Unexpected quantifier Scenario: You have a JSP page that has been running for a long while.  All of sudden you notice its failing resulting in unexpected behavior. Upon troubleshooting you learn that the JSP page fails while create a New RegEx object. Error: When you enable Try & Catch exception in JSP you’ll get the error message “Unexpected quantifier”  as  given below: JSP Code to catch the exception: Results: Cause: The error message “Unexpected quantifier”  usually refers to the special […]

Advertisements