[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: lookaheads in XSLT2 regexes

Subject: Re: lookaheads in XSLT2 regexes
From: Dave Pawson <davep@xxxxxxxxxxxxx>
Date: Tue, 02 Mar 2010 07:48:13 +0000
Re:  lookaheads in XSLT2 regexes
On 01/03/10 17:52, Michael Kay wrote:

I didn't realise we were missing \b -- we should add it, if that's the case.


I think it was omitted deliberately, on the grounds that it's locale-sensitive. It's defined in Perl as matching "a spot between two characters that has a \w on one side of it and a \W on the other side of it (in either order)", where \w matches a "word" character (defined as "alphanumeric" plus "_"), in which "the list of alphabetic characters generated by \w is taken from the current locale". That's not an acceptable definition for our purposes, so it's arguably better to have no definition at all.


How to apply it to a message from JC the other day?

James Clark (4 days ago from Chromed Bird)
RT @sikkha: `8`88`8`8+`8!`82`8"`9`8#`8`8`8-`8`8#`80`8`8`8*`81`8!`8`8`82`8`9`8!`9`9`8
`9`9`8`87`9`8-`9`8+`9	`9`8`84`8`8`82`8#`9`8`9`8`8`81`8`9`8*`8#`85`9`8`9`8`9	`8`8-`8"`89`9`9`8%`9	`8'





regards

--
Dave Pawson
XSLT XSL-FO FAQ.
http://www.dpawson.co.uk

Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.