Fixed email validation stuff
Merge pull request #1324 from NuGet/anurse-1277-emailvalidation

Fix #1277 by adding support for single-character domain names to regex.