> Its worth mentioning about the regex in the xsl:analyze-string above. I'm
now reading the input for xsl:analyze-string from a text file (the line
delimiter is \r\n on windows), and don't have to write \\ in the regex. And
that makes me understand your point, "that example is matching a newline but
you wanted to match the two characters \n".
If you had wanted to test matching against a string with a newline you
should have had the input string as 'hello world ' not
'hello\world` as you are writing in XML not C.
|