Subject: Re: [xsl] difficulty using xsl:analyze-string From: "David Carlisle d.p.carlisle@xxxxxxxxx" <xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx> Date: Wed, 18 Jul 2018 10:17:23 -0000 |
> 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.
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] difficulty using xsl:anal, Mukul Gandhi gandhi. | Thread | Re: [xsl] difficulty using xsl:anal, Michael Kay mike@xxx |
Re: [xsl] difficulty using xsl:anal, Mukul Gandhi gandhi. | Date | Re: [xsl] difficulty using xsl:anal, Michael Kay mike@xxx |
Month |