Re: [xsl] Unicode character blocks in strings

Subject: Re: [xsl] Unicode character blocks in strings
From: Martin Honnen <Martin.Honnen@xxxxxx>
Date: Fri, 29 May 2009 13:50:06 +0200
tom tom wrote:
> I don't understand why the regex \p{{IsCJKUnifiedIdeographs}}
> contains a double '{}' structure. Why doesn't
> \p{IsCJKUnifiedIdeographs} work?

Because with XSLT where an attribute value template is allowed the curly
braces {} already have a special meaning so you need to double them to
get the regular expression you want.

-- 

	Martin Honnen
	http://msmvps.com/blogs/martin_honnen/

Current Thread