commit
41a5febbf6
|
|
@ -337,7 +337,7 @@ public final class Constants {
|
|||
/**
|
||||
* email regex
|
||||
*/
|
||||
public static final Pattern REGEX_MAIL_NAME = Pattern.compile("^[a-zA-Z0-9_-]+@[a-zA-Z0-9_-]+(\\.[a-zA-Z0-9_-]+)+$");
|
||||
public static final Pattern REGEX_MAIL_NAME = Pattern.compile("^([a-z0-9A-Z]+[-|\\.]?)+[a-z0-9A-Z]@([a-z0-9A-Z]+(-[a-z0-9A-Z]+)?\\.)+[a-zA-Z]{2,}$");
|
||||
|
||||
/**
|
||||
* read permission
|
||||
|
|
|
|||
Loading…
Reference in New Issue