fn:current-group() as item()*
Returns the current regex group.
This function is only available in XSLT; it is not available in XQuery or JavaScript.
See the examples in the Grouping section of the XSLT Specification.