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.