xsl-list
[Top] [All Lists]

Re: [xsl] Unicode character blocks in strings

2009-05-29 07:50:39
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/

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--