From 7d5980a4532bb390ef9923cd9285dfceb1e25a58 Mon Sep 17 00:00:00 2001 From: Royce59 Date: Sat, 11 Apr 2026 21:38:24 +0200 Subject: [PATCH] =?UTF-8?q?=D0=9F=D0=BE=D0=B4=D0=B3=D0=BE=D0=BD=D0=BA?= =?UTF-8?q?=D0=B0=20regexp=20=D0=BA=20=D1=81=D0=B5=D1=80=D0=B2=D0=B5=D1=80?= =?UTF-8?q?=D0=BD=D0=BE=D0=B9=20=D0=B2=D0=B0=D0=BB=D0=B8=D0=B4=D0=B0=D1=86?= =?UTF-8?q?=D0=B8=D0=B8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/views/Profile/MyProfile.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/Profile/MyProfile.tsx b/app/views/Profile/MyProfile.tsx index 2da03d0..cb0d67c 100644 --- a/app/views/Profile/MyProfile.tsx +++ b/app/views/Profile/MyProfile.tsx @@ -100,7 +100,7 @@ export function MyProfile() { onErrorStateChange={(error) => setUsernameError(error)} placeholder="ex. freddie871" onChange={(e) => setUsername(e.target.value)} - regexp={new RegExp(/^([a-z0-9]{5,16})?$/)} + regexp={new RegExp(/^([a-z][a-z0-9_]{4,15})?$/)} > {usernameError && Invalid username.}