regex-group

Returns the contents of the substring that matched the n'th subexpression in a regular expression processed using xsl:analyze-string

regex-group() ➔ xs:string

There are no arguments

Result

xs:string

Links to W3C specifications

Namespace: http://www.w3.org/2005/xpath-functions

Applies to: XSLT 2.0 and later versions

XSLT 2.0 Specification

XSLT 2.1 Specification

Notes on the Saxon implementation

The function is fully implemented according to the W3C specifications.