This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.
Test case re00556 is defined as: <test-case name="re00556"> <description>Test regex syntax</description> <created by="Michael Kay" on="2011-07-04"/> <test>matches('qwerty','[\u0554-\u0557]+')</test> <result> <error code="FORX0002"/> </result> </test-case> The \u escape sequences seem out of place. These escape sequences also appear in: re00558 re00561 re00562 re00563 re00564 re00598 re00741 re00787
I'm not sure what the problem is. The XPath regex syntax does not allow \u, and these tests check that it is rejected. (By way of explanation, these tests were ultimately derived from a regex test library used somewhere in Microsoft, and used to test a different regex dialect: they were extracted from the W3C XSD tests contributed by Microsoft. In consequence. many of them are regular expressions that are valid in some regex dialect but not in XPath. This does not reduce the usefulness of the tests, so long as the expected results are adjusted accordingly.)
My mistake. For some reason I thought that the test case expected \u0554 and \u0557 to be interpreted as unicode characters.