Wrap RegExp for exclusions in a try catch to prevent parse error fails
Add comment to try/catch regexp.