Actions
Bug #4407
closedUnescaped right curly brace in regular expression
Start date:
2019-12-09
Due date:
% Done:
100%
Estimated time:
Legacy ID:
Applies to branch:
9.9, trunk
Fix Committed on Branch:
9.9, trunk
Fixed in Maintenance Release:
Platforms:
Description
The XSD/XPath regex syntax does not allow an unescaped right curly brace - it must be escaped with a backslash. Saxon does not detect this, and allows such a regular expression through. This is revealed by test case analyze-string-097, raised in response to Saxon bug #3211, which contains this error. The failure was revealed by Saxon-JS testing (Javascript rejects the preprocessed regex).
Please register to edit this issue
Actions