Regular expression such as "^\S+$" does not work because "" succeed!RegularExpressionAttribute.IsValid has a test string.IsNullOrEmpty(input)) return true; that is wrong. null is a special case, but empty should be used as a testable value.
Visual Studio/Team Foundation Server/.NET Framework Tooling Version
Steps to reproduce
Operating System Language