merge and fix

This commit is contained in:
Mohamed Karray
2018-10-01 17:28:07 +02:00
2 changed files with 48 additions and 1 deletions

View File

@@ -9,6 +9,6 @@ public final class ValidationConstraints {
* and it not contains whitespaces
* and the characters: . - _ @ are allowed
*/
public static final String USER_GROUP_PATTERN = "^[^@\\s][A-Za-z0-9\\.\\-_@]+$";
public static final String USER_GROUP_PATTERN = "^[A-Za-z0-9\\.\\-_][A-Za-z0-9\\.\\-_@]+$";
}