diff --git a/Iceshrimp.Frontend/Pages/ProfileView.razor b/Iceshrimp.Frontend/Pages/ProfileView.razor index b46f2b96..c8023285 100644 --- a/Iceshrimp.Frontend/Pages/ProfileView.razor +++ b/Iceshrimp.Frontend/Pages/ProfileView.razor @@ -119,7 +119,7 @@ } else { - var pattern = "^@(.[^@]+)@?(.+)?$"; + var pattern = "^@([^@]+)@?(.+)?$"; var matches = Regex.Match(User, pattern); var userResponse = await Api.Users.LookupUserAsync(matches.Groups[1].Value, matches.Groups[2].Value); if (userResponse is null)