public static Ensurable <string> Matches(this Ensurable <string> ensurable, string regexPattern, string exceptionMessage = null) { return(ensurable.Matches(new Regex(regexPattern), exceptionMessage)); }
public static Ensurable <string> Matches(this Ensurable <string> ensurable, string regexPattern, Func <Ensurable <string>, Exception> exceptionFactory) { return(ensurable.Matches(new Regex(regexPattern), exceptionFactory)); }