protected override bool IsMatch(string value) { if (value == null) { throw new ArgumentNullException("value", ValidationPredicateMessages.NullMessage); } return Regex.IsMatch(value, this.Pattern); } }