From f0fae0fce0a0dbec311fdf95e32e925e0092fbcb Mon Sep 17 00:00:00 2001 From: luketeam5 Date: Tue, 23 Jul 2024 03:34:10 +0200 Subject: [PATCH] Update RestrictionSettings.java --- .../xephi/authme/settings/properties/RestrictionSettings.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/fr/xephi/authme/settings/properties/RestrictionSettings.java b/src/main/java/fr/xephi/authme/settings/properties/RestrictionSettings.java index d7d40aca..06eb2b55 100644 --- a/src/main/java/fr/xephi/authme/settings/properties/RestrictionSettings.java +++ b/src/main/java/fr/xephi/authme/settings/properties/RestrictionSettings.java @@ -173,7 +173,7 @@ public final class RestrictionSettings implements SettingsHolder { @Comment("Regex syntax for allowed chars in email.") public static final Property ALLOWED_EMAIL_REGEX = - newProperty("settings.restrictions.allowedEmailCharacters", "^([a-zA-Z0-9_.+-]+)@([a-zA-Z0-9-]+)\.([a-zA-Z]{2,})$"); + newProperty("settings.restrictions.allowedEmailCharacters", "^([a-zA-Z0-9_.+-]+)@([a-zA-Z0-9-]+)\\.([a-zA-Z]{2,})$"); @Comment("Force survival gamemode when player joins?")