Re: [xsl] Another tokenize() question

Subject: Re: [xsl] Another tokenize() question
From: David Carlisle <davidc@xxxxxxxxx>
Date: Wed, 11 Aug 2004 10:59:26 +0100
> Should that be {\w+[^{}]*}  or something?

aside from the fact that to get a literal { in an attribute value
template you have to use {{ You probably want to allow any number of {}
groups inside your word so that would be

(\w|{[^{}]*})+

ie a sequence of one-or-more (word character or brace-group)

written as


regex="(\w|{{[^{{}}]*}})+"

David


________________________________________________________________________
This e-mail has been scanned for all viruses by Star Internet. The
service is powered by MessageLabs. For more information on a proactive
anti-virus service working around the clock, around the globe, visit:
http://www.star.net.uk
________________________________________________________________________

Current Thread