2.4.3.8.1 Match

Function Signature: boolean xdUtil:match(string, Regular Expression)

This function MUST take two parameters:

  • String: This parameter MUST be a string.

  • Regular Expression: This parameter MUST be a valid XML regular expression.

This function MUST return TRUE if the input string conforms to the specified regular expression, or FALSE otherwise. String is specified in [XPATH] section 3.6. Regular expression is specified in [XMLSCHEMA1] Appendix F.