This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: Regex string function question
- To: xsl-list at lists dot mulberrytech dot com
- Subject: Re: [xsl] Regex string function question
- From: Uche Ogbuji <uche dot ogbuji at FourThought dot com>
- Date: Thu, 25 Jan 2001 07:29:48 -0700
- Reply-To: xsl-list at lists dot mulberrytech dot com
> Eric van der Vlist wrote:
> >
> > Uche Ogbuji wrote:
> > >
> > > Noting that 4XSLT has the equivalent of your match-regexp function through its ft:match extension function.
> >
> > Looks like your 4XSLT would be the perfect tool... if only it was writen
> > in Java :):) !
> >
> > I need to have a closer look then to see if we could do the same with
> > our favorite XSLT processor...
>
> Please, do. As a very rusty (and never good) Java programmer the only
> thing I can do at this moment
> is to pray your efforts are successful.
>
> (BTW: I love Python and I hope to test 4Suite when I find some spare
> time.)
Here's more incentive. I like your regex tokenization idea, and I just
implemented it in addition to the match. I also have a bunch of other regex
goodies that came to mind with this thread. If you do try 4Suite, let me know
and I'll e-mail you an updated XPath/BuiltInFunctions.py with the added
extensions.
--
Uche Ogbuji Principal Consultant
uche.ogbuji@fourthought.com +1 303 583 9900 x 101
Fourthought, Inc. http://Fourthought.com
4735 East Walnut St, Ste. C, Boulder, CO 80301-2537, USA
Software-engineering, knowledge-management, XML, CORBA, Linux, Python
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list