Matches Method
Matches(string)
Succeeds if the target value matches the specified regular expression.
Declaration
public virtual IPredicate Matches(string regex)
Parameters
| string | regex | The regular expression. |
Returns
| IPredicate | A new predicate. |
Remarks
The pattern is interpreted exactly in the same way as described in the
documentation for the Java java.util.regex.Pattern class.