Actions
Bug #3381
closed![Author: Michael Kay](https://www.gravatar.com/avatar/db6526d63053f09b62e52c2da8b2230a?rating=PG&size=50&default=https%3A%2F%2Fassets.plan.io%2Fimages%2Fdefault_avatar.png)
![Assignee: Michael Kay](https://www.gravatar.com/avatar/db6526d63053f09b62e52c2da8b2230a?rating=PG&size=22&default=https%3A%2F%2Fassets.plan.io%2Fimages%2Fdefault_avatar.png)
Spurious "unmatched ')'" error in regular expression
Start date:
2017-08-10
Due date:
% Done:
100%
Estimated time:
Applies to JS Branch:
0.9, 1.0, Trunk
Fix Committed on JS Branch:
1.0, Trunk
Fixed in JS Release:
SEF Generated with:
Platforms:
Company:
-
Contact person:
-
Additional contact persons:
-
Description
Saxon-JS reports "unmatched ')'" in a regular expression, caused by failing to ignore ')' characters that appear within a character class (that is, within square brackets).
Shows up in test case analyze-string-097.
When we fix this the test shows a further error, caused by incorrect treatment of escaped hyphens within square brackets: the backslash is being incorrectly removed.
Please register to edit this issue
Actions
Also available in: Atom PDF Tracking page