In Saxon 9 he Java XML parser, word boundaries (\\b) in regular expressions are not recognized
I have the following simple regular expression: \b\w+\b Saxon reports the following error: syntax error at char 2 in regular expression: Escape character 'b' not allowed Does it mean I can't use word boundaries with Java Saxon parser? Is there an alternative free XML Java parser that has this functionality? The regular expression dialect used in XSD and XPath does not recognize \b (either as a word boundary or as a backspace). I think the reason for excluding it was probably a misplaced anxiety that word boundaries are language/culture dependent, though that's illogical since the dialect does