diff --git a/Content.Server/Speech/EntitySystems/MobsterAccentSystem.cs b/Content.Server/Speech/EntitySystems/MobsterAccentSystem.cs index 0e9b0a34ef..5906bf3ed4 100644 --- a/Content.Server/Speech/EntitySystems/MobsterAccentSystem.cs +++ b/Content.Server/Speech/EntitySystems/MobsterAccentSystem.cs @@ -14,7 +14,7 @@ public sealed class MobsterAccentSystem : EntitySystem private static readonly Regex RegexUpperAr = new(@"(?<=\w)A[Rr](?=\w)"); private static readonly Regex RegexFirstWord = new(@"^(\S+)"); private static readonly Regex RegexLastWord = new(@"(\S+)$"); - + private static readonly Regex RegexLastPunctuation = new(@"([.!?]+$)(?!.*[.!?])|(?