Fixed email address validation

pull/194/merge
M66B 3 years ago
parent e065814b2c
commit a186451a51

@ -195,7 +195,7 @@ public class Helper {
static final Pattern EMAIL_ADDRESS = Pattern.compile( static final Pattern EMAIL_ADDRESS = Pattern.compile(
"[\\S]{1,256}" + "[\\S]{1,256}" +
"\\@" + "\\@" +
"[\\p{L}][\\p{L}0-9\\-\\_]{0,64}" + "[\\p{L}0-9][\\p{L}0-9\\-\\_]{0,64}" +
"(" + "(" +
"\\." + "\\." +
"[\\p{L}0-9][\\p{L}0-9\\-\\_]{0,25}" + "[\\p{L}0-9][\\p{L}0-9\\-\\_]{0,25}" +

Loading…
Cancel
Save