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: Rick Anderson <rianders at rci dot rutgers dot edu>
- Date: Wed, 24 Jan 2001 05:37:24 -0500 (EST)
- Reply-To: xsl-list at lists dot mulberrytech dot com
On Wed, 24 Jan 2001, Michael Kay wrote:
> > Why won't us put a prosal for a standardised [regexp] extension ?
> >
> Doing an extension function that tests whether a string matches a regexp is
> very easy, once you've found a definition of "regular expression" that
> everyone can agree on. An extension function that uses a regexp to extract
> parts of a string is much trickier.
>
> Mike Kay
>
The jakarta project has two regexp packages for Java:
http://jakarta.apache.org/regexp/
http://jakarta.apache.org/oro/index.html
Since XSL 2.0 isn't out yet would it be reasonable to add those kind of
extensions to a java based XSL processor using one of those libraries?
Has anyone tried this yet?
--Rick Anderson
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list