diff --git a/app/types/index.ts b/app/types/index.ts index c4a165aa66..8e1439ebee 100644 --- a/app/types/index.ts +++ b/app/types/index.ts @@ -44,7 +44,7 @@ export const CDN_URL = "https://raw.githubusercontent.com/keldaanCommunity/SpriteCollab/master" // eslint-disable-next-line no-useless-escape -export const USERNAME_REGEXP = /^[a-zA-Z0-9\._\-]{2,20}[^.-]$/ +export const USERNAME_REGEXP = /^(\p{Letter}|[0-9]|\.|-|_){3,24}$/u export type NonFunctionPropNames = { // eslint-disable-next-line @typescript-eslint/ban-types