xsl-list
[Top] [All Lists]

Re: Another tokenize() question

2004-08-11 02:59:26


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
________________________________________________________________________