Many regular expression dialects allow "/" to be escaped with a backslash, but the XPath dialect does not. Just remove the backslash. XPath prefers to reserve unused escape sequences for future use, to avoid compatibility problems later, whereas many dialects just ignore the backslash if the thing that follows is not a meta-character.
__________________
Michael Kay
http://www.saxonica.com/
Author, XSLT 2.0 and XPath 2.0 Programmer\'s Reference
|