<?xml version="1.0" encoding="iso-8859-1"?> <?xml-stylesheet href="../../make-menu.xsl" type="text/xsl"?><html> <head> <this-is section="functions" page="intro" subpage="regex-group"/> <!-- Generated at 2011-12-09T20:47:22.916Z--><title>Saxonica: XSLT and XQuery Processing: regex-group</title> <meta name="coverage" content="Worldwide"/> <meta name="copyright" content="Copyright Saxonica Ltd"/> <meta name="title" content="Saxonica: XSLT and XQuery Processing: regex-group"/> <meta name="robots" content="noindex,nofollow"/> <link rel="stylesheet" href="../../saxondocs.css" type="text/css"/> </head> <body class="main"> <h1>regex-group</h1> <p>Returns the contents of the substring that matched the n'th subexpression in a regular expression processed using <code>xsl:analyze-string</code> </p> <p class="subhead">regex-group() → xs:string</p> <table> <tr> <td width="470" align="left" colspan="4" style="border-top:solid 1px #3D5B96; "> <p> <i>There are no arguments</i> </p> </td> </tr> <tr> <td colspan="2" style="border-top:solid 1px #3D5B96; border-bottom:solid 1px #3D5B96;"> <p> <i>Result</i> </p> </td> <td style="border-top:solid 1px #3D5B96; border-bottom:solid 1px #3D5B96;" colspan="2"> <p>xs:string</p> </td> </tr> </table> <p class="subhead">Links to W3C specifications</p> <p>Namespace: http://www.w3.org/2005/xpath-functions</p> <p>Applies to: XSLT 2.0 and later versions</p> <p> <a href="http://www.w3.org/TR/xslt20/#function-regex-group" class="bodylink">XSLT 2.0 Specification</a> </p> <p> <a href="http://www.w3.org/TR/xslt-21/#function-regex-group" class="bodylink">XSLT 2.1 Specification</a> </p> <p class="subhead">Notes on the Saxon implementation</p> <p>The function is fully implemented according to the W3C specifications.</p> <table width="100%"> <tr> <td> <p align="right"><a class="nav" href="remove.xml">Next</a></p> </td> </tr> </table> </body> </html>