public void AddPluralRule_Regex() { const string singular = "regex"; const string plural = "regexii"; _pluralizer.AddPluralRule(new Regex("gex$"), "gexii"); Assert.AreEqual(plural, _pluralizer.Pluralize(singular)); }