Matches(Regex, String?) Method

Definition

Assembly XenoAtom.CommandLine.dll

Validates that a string matches the specified regular expression.

public static OptionValidator<string> Matches(Regex regex, string? errorMessage = null)

Parameters

regex
Regex
errorMessage
String

Returns