fn:matches(string? $input, string $pattern) → boolean?
Function signature
$input |
xs:string ? |
$pattern |
xs:string |
Result |
xs:boolean ? |
Returns true if the given string matches the given regular expression
fn:matches(string? $input, string $pattern, string $flags) → boolean?
Function signature
$input |
xs:string ? |
$pattern |
xs:string |
$flags |
xs:string |
Result |
xs:boolean ? |
Returns true if the given string matches the given regular expression, specifying flags to control the way pattern matching is performed