Re: lookaheads in XSLT2 regexes
Basically, inside an xsl:analyze-string I am passing a variable as the contents of @regex. In the list of regexes for that get passed to this I'd like to be able to match, say, foo when not followed by an 't' and also match foo when followed by a 't' but not include that 't' in the string being matched.
No, as far as I know and as far as http://www.w3.org/TR/xquery-operators/#regex-syntax describes those constructs do not exist in the regular expression language that XPath 2.0 and XSLT 2.0 use.
Martin Honnen http://msmvps.com/blogs/martin_honnen/
PURCHASE STYLUS STUDIO ONLINE TODAY!
Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!
Download The World's Best XML IDE!
Accelerate XML development with our award-winning XML IDE - Download a free trial today!
Subscribe in XML format