Skip to content

Commit

Permalink
Improved email validation/autolinking
Browse files Browse the repository at this point in the history
  • Loading branch information
M66B committed Mar 5, 2022
1 parent fe16396 commit e4ed7e4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/src/main/java/eu/faircode/email/Helper.java
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,7 @@ public class Helper {
private static final String[] ROMAN_1 = {"", "I", "II", "III", "IV", "V", "VI", "VII", "VIII", "IX"};

static final Pattern EMAIL_ADDRESS = Pattern.compile(
"[\\S]{1,256}" +
"[\\S&&[^\"@]]{1,256}" +
"\\@" +
"[\\p{L}0-9][\\p{L}0-9\\-\\_]{0,64}" +
"(" +
Expand Down

0 comments on commit e4ed7e4

Please sign in to comment.