Email validation option accepts emails with dashes

Hyphen was not escaped in the local part's character class.

This still leaves the regex short of what is recommended by RFC 3696.
The correct solution may be to use the "email" value for the type
attribute on component's associated input element, introduced in HTML5.