The second dot in this regex still has its special meaning of "any single character", so for instance, this would match "mike@examplecom" which is invalid. To escape the dot and have it mean an actual dot, use `\.`