Subject: RE: Regular Expressions in XPath 2.0
From: "Philip Vallone" <philip.vallone@xxxxxxxxxxx>
Date: Sat, 21 Apr 2007 14:28:30 -0400
|
This is a good place to start...
http://www.roblocher.com/technotes/regexp.aspx
good luck
-----Original Message-----
From: Rashmi Rubdi [mailto:rashmi.sub@xxxxxxxxx]
Sent: Saturday, April 21, 2007 1:51 PM
To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
Subject: Regular Expressions in XPath 2.0
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
|