Method Matches
Matches(String, String)
Returns true if the string input
matches the regex pattern
.
Declaration
public static bool Matches(string input, string pattern)
Parameters
Type | Name | Description |
---|---|---|
String | input | An input string, haystack. |
String | pattern | The regex pattern. |
Returns
Type | Description |
---|---|
Boolean |