fn:regex-groups

Returns the set of captured groups associated with a matching segment during evaluation of the xsl:analyze-string instruction.

regex-groups( ) ➔ map(xs:integer, record(value as xs:string, position as xs:integer))

There are no arguments

Result

map(xs:integer, record(value as xs:string, position as xs:integer))

Namespace

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

Links to W3C specifications

XSLT 4.0 Specification

Saxon availability

Available in XSLT 4.0. Not implemented in Saxon.

Notes on the Saxon implementation

New in XSLT 4.0. Not yet implemented in Saxon.