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