xsl-list
[Top] [All Lists]

Re: [xsl] difficulty using xsl:analyze-string

2018-07-18 05:17:27
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.
--~----------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
EasyUnsubscribe: http://lists.mulberrytech.com/unsub/xsl-list/1167547
or by email: xsl-list-unsub(_at_)lists(_dot_)mulberrytech(_dot_)com
--~--

<Prev in Thread] Current Thread [Next in Thread>