Subject: RE: Why does '#' start a comment in regular expressions with 'x' modifier flag? How can I match '#'?
From: "Michael Kay" <mike@xxxxxxxxxxxx>
Date: Thu, 21 Dec 2006 19:04:24 -0000
|
> Now I found out that, at least with Saxon (not sure of
> others), the '#'
> character is considered a comment delimiter when the 'x' flag (ignore
> whitespace) is ignored. Furthermore, it does not appear
> possible to escape the '#' character.
>
What version of Saxon are you using (and on what platform)? I think there
was a bug in this area in earlier releases but that it works correctly in
Saxon 8.8.
Michael Kay
http://www.saxonica.com/
|