Determines whether the target regular expression matches the whole of the passed string
Agent
| Name | Type | Description |
|---|---|---|
| comparisonString | String |
A string against which the regular expression is matched
|
Bool — true if the target regular expression generates a match, otherwise false
This method returns true if the target regular expression generates a match against the string passed as a parameter, or false if there is no match.