|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: lookaheads in XSLT2 regexes
On 01/03/2010 11:37, James Cummings wrote:
On Mon, Mar 1, 2010 at 11:19, Michael Kay<mike@xxxxxxxxxxxx> wrote:Sorry, it turns out it's implemented for matches(), tokenize(), and replace(), but not for xsl:analyze-string. you should be able to get access to the feature using replace() I think. use replace with the nonstandard lookahead flag and a replace string which re-inserts the entire matched string, but with some unique marker such as @start@$0@end, then you can apply analyze-string to the resulting string without needing any lookahead markers as you can instead match the explicit @start@ and @end@ boundaries added in the first pass. David
This e-mail has been scanned for all viruses by Star. The service is powered by MessageLabs. ________________________________________________________________________
|
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
|

Cart








