[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Support for lookaround regexp in XSLT -- any time
On 01.03.2013 11:40, Michael Kay wrote:
(b) they wanted to exclude anything that didn't make sense in an international Unicode context (so things like word boundaries were immediately suspect) If they had been concerned about what is a word constituent and what is not in a certain language, they wouldnbt have included \w and \W in http://www.w3.org/TR/xmlschema-2/#cces \w is locale-independently defined as: [#x0000-#x10FFFF]-[\p{P}\p{Z}\p{C}] (all characters except the set of "punctuation", "separator" and "other" characters) So I think \b, defined as either a \w-\W, a \W-\w boundary, the start anchor, or the end anchor, is also perfectly well-defined and works as expected in most circumstances. Gerrit
|
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
|