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

Re: check the type of the $pattern argument to a regul

Subject: Re: check the type of the $pattern argument to a regular expression?
From: "bryan rasmussen" <rasmussen.bryan@xxxxxxxxx>
Date: Mon, 16 Apr 2007 16:01:55 +0200
Re:  check the type of the $pattern argument to a regul
okay,  the limitation I was thinking of is that XML Schema's regex are
anchored (sort of sick so don't want to go find the spec and hunt up
the correct wording) and XSL-T not
necessarily

Cheers,

Bryan Rasmussen

On 4/16/07, Abel Braaksma <abel.online@xxxxxxxxx> wrote:
bryan rasmussen wrote:
> Hi,
>
> I thought the XML Schema regex limitations were not applicable to
> XSL-T regex's.
>

The XSLT regex is very much based on the XML Schema one. Quote from XSLT
spec: "The regular expression syntax used by these functions is defined
in terms of the regular expression syntax specified in XML Schema".

The XSLT spec defines a few extensions (like $ and ^ , reluctant
quantifiers, grouping, replacements) and clears a few dark corners of
the XML Schema regex spec (the latter I find notoriously hard to read, btw).

-- Abel Braaksma

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.