boolean xsh:match(string STR,string PATTERN,options STR)
Searches a given string for a pattern match specified by a regular expression PATTERN and returns a node-set consisting of <xsh:string> elements containing portions of the string matched by the pattern subexpressions enclosed in parentheses.
PATTERN
<xsh:string>