Skip to content

Commit

Permalink
fix: allowed # in team name regex
Browse files Browse the repository at this point in the history
  • Loading branch information
Suboyyy committed Sep 18, 2024
1 parent a8a1e12 commit 62a6ee8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utils/validators.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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}$/;
Expand Down

0 comments on commit 62a6ee8

Please sign in to comment.