Fixed email address validation

This commit is contained in:
M66B 2022-02-23 08:26:37 +01:00
parent e065814b2c
commit a186451a51
1 changed files with 1 additions and 1 deletions

View File

@ -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}" +