public bool IsStringNice(string input, string regex, int matches) { IStringRulesEngine engine = new StringRulesEngine(); return engine.RegexEvaluation(input, regex, matches); }
public bool IsStringNice(string input) { IStringRulesEngine engine = new StringRulesEngine(); return engine.HasLetters(input, 3) && engine.HasVowels(input, 3) && engine.HasNoStringSequences(input, new[] { "ab", "cd", "pq", "xy" }); }