xsl-list
[Top] [All Lists]

Re: [xsl] check the type of the $pattern argument to a regular expression?

2007-04-16 07:02:18
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(_dot_)online(_at_)xs4all(_dot_)nl> 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

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



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