diff --git a/src/utils/validators.ts b/src/utils/validators.ts index c996087b..d359728a 100644 --- a/src/utils/validators.ts +++ b/src/utils/validators.ts @@ -3,7 +3,7 @@ import { UserAge, UserType, Permission, Error as ResponseError } from '../types' // Matches with LoL EUW summoner name const usernameRegex = /^[0-9\p{L} _#-]{3,22}$/u; -const nameRegex = /^[\p{L}\d _'-]{1,100}$/u; +const nameRegex = /^[\p{L}\d _'#-]{1,100}$/u; const lastnameRegex = /^[\p{L} _'-]{1,100}$/u; const passwordRegex = /^.{6,100}$/; const placeRegex = /^[A-Z]\d{1,3}$/;