We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 10d2ee1 commit 824bc71Copy full SHA for 824bc71
lib/possible_email.rb
@@ -9,7 +9,7 @@
9
HTTPI.log = false
10
11
EMAIL_REGEX = /^([\w\.%\+\-]+)@([\w\-]+\.)+([\w]{2,})$/i
12
-DOMAIN_REGEX = /^[^@]([\w\-]+\.)+([\w]{2,})$/
+DOMAIN_REGEX = /^([\w\-]+\.)+([\w]{2,})$/
13
NAME_REGEX = /^\b[a-zA-Z]+\b$/
14
15
module PossibleEmail
0 commit comments