Correct illegal nickname characters regex (#151)

Apparently there are non-letter characters in between A-Z and a-z
This commit is contained in:
Octol1ttle 2023-10-04 21:55:39 +05:00 committed by GitHub
parent 8a27aae2b7
commit 6f1e543edb
Signed by: GitHub
GPG key ID: 4AEE18F83AFDEB23

View file

@ -197,7 +197,7 @@ public sealed partial class MemberUpdateService : BackgroundService
ct: ct); ct: ct);
} }
[GeneratedRegex("[^0-9A-Аё]")] [GeneratedRegex("[^0-9A-Za-zА-Яа-яЁё]")]
private static partial Regex IllegalChars(); private static partial Regex IllegalChars();
private async Task<Result> TickReminderAsync(Reminder reminder, IUser user, MemberData data, CancellationToken ct) private async Task<Result> TickReminderAsync(Reminder reminder, IUser user, MemberData data, CancellationToken ct)