]> git.smokeofanarchy.ru Git - space-station-14.git/commit
Fix nonsensical RegEx for name restriction (#34375)
authorHyper B <137433177+HyperB1@users.noreply.github.com>
Wed, 15 Jan 2025 15:59:04 +0000 (20:59 +0500)
committerGitHub <noreply@github.com>
Wed, 15 Jan 2025 15:59:04 +0000 (16:59 +0100)
commite752561d20887062e91b3797cf4ff4fade12f555
treeba88335fcd5a16cdd9622efb83a61e57c7ad615f
parentd83b5acb22cc56d352687370ea81aa9e74818731
Fix nonsensical RegEx for name restriction (#34375)

* Fixed nonsense RegEx

"-" character is a range, caused an error.
No need for "," to repeat so much, it's not a separator.
"\\" - just why?

* Further optimized RegEx structure

Added:
"@" delimiter for consistency
"/" to escape "-" for good and to avoid further problems
Content.Shared/Preferences/HumanoidCharacterProfile.cs