Match Method
Match(string, string)
Succeeds if the target value matches the specified regular expression.
Declaration
public static IPredicate Match(string name, string regex)
Parameters
| string | name | The name of the target. |
| 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.