I am trying to use a RegexStringValidator on a couple of properties:
[Required, StringLength(4, MinimumLength = 4), RegexStringValidator(@"AAAA")]
public virtual string ValueGuid { get; set; }
This actually accepts anything that is 4 characters long and not just "AAAA" which I would expect. Is there some magic I'm missing here?
Thanks Anton