Determines whether the specified string matches the given regular expression pattern.
Syntax
Smartsite SXML | Copy Code |
---|---|
boolean string.ismatch(string s, string pattern) boolean string.ismatch(string s, string pattern, enum options) |
Parameters
Name | Data Type | Description |
---|---|---|
s | String | The string to test. |
pattern | String | The pattern to match. |
options | Enum |
TheSystem.Text.RegularExpressions.RegexOptions.
Enum values:
|
Return Value
Data Type | Description |
---|---|
Boolean | True if the pattern matches. |