mirror of https://github.com/M66B/FairEmail.git
Fixed email address validation
This commit is contained in:
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…
Reference in New Issue