From a186451a5198410ade07c2a8db03b25344245d9e Mon Sep 17 00:00:00 2001 From: M66B Date: Wed, 23 Feb 2022 08:26:37 +0100 Subject: [PATCH] Fixed email address validation --- app/src/main/java/eu/faircode/email/Helper.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/eu/faircode/email/Helper.java b/app/src/main/java/eu/faircode/email/Helper.java index a726206bec..812c5d118e 100644 --- a/app/src/main/java/eu/faircode/email/Helper.java +++ b/app/src/main/java/eu/faircode/email/Helper.java @@ -195,7 +195,7 @@ public class Helper { static final Pattern EMAIL_ADDRESS = Pattern.compile( "[\\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}" +