StringAssertions.Match Method
Definition
Asserts that the string matches the specified regular expression pattern.
public StringAssertionsChain Match(string pattern);
Parameters
| Name | Type | Description |
|---|---|---|
| pattern | String | The regular expression pattern to match. |
Returns
A StringAssertionsChain for chaining further assertions.