EXSLT - Regular Expressions - Implementer Page

Version: 1
User Page: index.html
XML Definition: regexp.xml
Module Package: regexp.zip

EXSLT - Regular Expressions covers extension elements and functions that provide facilities to do with regular expressions.

For ease of implementation, the regular expressions used in this module currently use the Javascript regular expression syntax.

The extension elements and functions defined within this document are governed by the general rules about extensions to XSLT covered in [14. Extensions] in [XSLT 1.0].

XSLT processors are free to support any number of the extension elements and functions described in this document. However, an XSLT processor must not claim to support EXSLT - Regular Expressions unless all the core extensions described within this document are implemented by the processor. An implementation of an extension element or function in an EXSLT namespace must conform to the behaviour described in this document.

Using EXSLT will only make your stylesheet portable amongst the implementations that support EXSLT. Note that there is no requirement for XSLT processors that are compliant to XSLT to support the extensions described within EXSLT.


The namespace for EXSLT - Regular Expressions is:


Throughout this document, the prefix regexp is used to refer to this namespace. Any other prefix can be used within a particular stylesheet (though a prefix must be specified to enable the extension functions to be recognised as extensions).


Other Functions

The following extension functions are not considered stable and are not part of the core of EXSLT - Regular Expressions. Processors that claim support of EXSLT - Regular Expressions might not support these functions.

regexp:test1newboolean regexp:test(string, string, string?)regexp.test.zip
regexp:match1newobject regexp:match(string, string, string?)regexp.match.zip
regexp:replace1newstring regexp:replace(string, string, string, string)regexp.replace.zip
* old version of function

Change History

Submitted: 2001-06-30
Creator: Jeni Tennison

A module of regular expression functions.

http://www.exslt.org/regexp/regexp.html last modified 2001-06-30