From 6f1e543edb8ce45b37857be521c68b6a8272fade Mon Sep 17 00:00:00 2001 From: Octol1ttle Date: Wed, 4 Oct 2023 21:55:39 +0500 Subject: [PATCH] Correct illegal nickname characters regex (#151) Apparently there are non-letter characters in between A-Z and a-z --- src/Services/Update/MemberUpdateService.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Services/Update/MemberUpdateService.cs b/src/Services/Update/MemberUpdateService.cs index 22b2849..6614273 100644 --- a/src/Services/Update/MemberUpdateService.cs +++ b/src/Services/Update/MemberUpdateService.cs @@ -197,7 +197,7 @@ public sealed partial class MemberUpdateService : BackgroundService ct: ct); } - [GeneratedRegex("[^0-9A-zЁА-яё]")] + [GeneratedRegex("[^0-9A-Za-zА-Яа-яЁё]")] private static partial Regex IllegalChars(); private async Task TickReminderAsync(Reminder reminder, IUser user, MemberData data, CancellationToken ct)