xsl-list
[Top] [All Lists]

Re: [xsl] lookaheads in XSLT2 regexes

2010-03-02 01:50:06
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: 
จุดหมายแรกของระบบสัมปทานไม่ใช่เพื่อให้เกิดการแข่งขันเสรีแต่ต้นอยู่แล้ว





regards

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

--~------------------------------------------------------------------
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>
--~--

<Prev in Thread] Current Thread [Next in Thread>