Re: [xsl] Regular Expressions in XPath 2.0

Subject: Re: [xsl] Regular Expressions in XPath 2.0
From: "Dimitre Novatchev" <dnovatchev@xxxxxxxxx>
Date: Sat, 21 Apr 2007 14:34:07 -0700
Don't know if this is close or very different from the XPath 2.0
regexs, but this seems like an extensive tutorial:

http://www.regular-expressions.info/tutorial.html



--
Cheers,
Dimitre Novatchev
---------------------------------------
Truly great madness cannot be achieved without significant intelligence.
---------------------------------------
To invent, you need a good imagination and a pile of junk
-------------------------------------
You've achieved success in your field when you don't know whether what
you're doing is work or play


On 4/21/07, Rashmi Rubdi <rashmi.sub@xxxxxxxxx> wrote:
I guess XPath is not off-topic to this list, if it is then I'm sorry
about this post.

I have just started learning the 2.0 versions of XSLT and XPath and
recently learned that Regular Expressions were introduced in XPath 2.0
and were not in XPath1.0.

I would like understand a few things about the Regular Expressions in
XPath 2.0.

According to the slide here:
http://www.mulberrytech.com/papers/XPath-2-0-User-Grp-HTML/slide060.html
the regular expressions in XPath are taken from Perl.

I've studied Regular Expressions in school a long time ago, but I've
never learned Perl.

I have a few questions

1) Are regular expressions in XPath 2.0 identical or are they similar
to those in Perl?

2) What would be the best approach to re-learn Regular Expressions
with respect to XPath 2.0, I know I have to first re-learn the basics
of regular expressions too.

I think there's a standard for Regular Expressions and each
programming language specializes or deviates from the standard.

Thank you for your input.

-Rashmi

Current Thread