[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

RE: [xsl] regexs, grouping (?) and XSLT2?


Subject: RE: [xsl] regexs, grouping (?) and XSLT2?
From: "Michael Kay" <mhk@xxxxxxxxx>
Date: Sun, 8 Aug 2004 12:35:25 +0100

>      <xsl:analyze-string select="." regex='"(.*?|.*?\n.*?)"'>

If you want "." to match any character including a newline, you can set
"dot-all" mode using flags="s".

Michael Kay


Current Thread