Skip to content

Commit

Permalink
Email address regexp update
Browse files Browse the repository at this point in the history
  • Loading branch information
vhs21 committed Jan 22, 2018
1 parent 0f678e0 commit b4c6167
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -46,7 +46,7 @@ public static boolean isValidAddresses(String recipients) {
}

public static boolean isValidAddress(String address) {
return address.matches("([a-zA-Z0-9]+[-_.]?)+@[a-z0-9.-]+\\.[a-z]+$");
return address.matches("([a-zA-Z0-9]+[-_.]?)+@[a-z0-9]+\\.[a-z]+$");
}

public static void addStringAsAddress(Set<Address> addresses, String address) {
Expand Down

0 comments on commit b4c6167

Please sign in to comment.