I am parsing an XML file with an XSD that contains some regular expression patterns used to validate the input, but only this regular expression generates an error, even if it goes into the Eclipse XSD plugin:
InvalidRegex: Pattern value
'(((com|org)\.)+(\b[a-z]+[.]{1}\b)+)?[A-Z]{1}[A-Za-z]+'
is not a valid regular expression. The reported error was:
'This expression is not supported in the current option setting.'.
So, even if the problem is caused by the \ b border, which I can safely remove using the SAX validator, where can I find the fatal "current parameter setting"?
source
share