/// <summary> /// Builds regex with compound words. /// </summary> protected static Regex Build(string ruleDefinition, string words) { return(NamingMacro.BuildRegex(ruleDefinition, words)); }
/// <summary> /// Builds simple regex. /// </summary> protected static Regex Build(string ruleDefinition) { return(NamingMacro.BuildRegex(ruleDefinition, String.Empty)); }