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 |
|---|---|
| bool |