Indicates whether the specified regular expression finds a match in the path.
public bool IsMatch(System.Text.RegularExpressions.Regex regex);regex System.Text.RegularExpressions.Regex
The regular expression to match.
System.Boolean
true if the regular expression finds a match; otherwise, false.