Add-d-ds s-s-stut-ttering t-to the g-gam-me (#4901)

This commit is contained in:
Vera Aguilera Puerto
2021-10-17 01:23:31 +02:00
committed by GitHub
parent 50802b123f
commit 3001ea38cc
9 changed files with 132 additions and 4 deletions

View File

@@ -10,7 +10,7 @@ namespace Content.Server.Speech
{
[Dependency] private readonly IChatManager _chatManager = default!;
public static readonly Regex SentenceRegex = new(@"(?<=[\.!\?])");
public static readonly Regex SentenceRegex = new(@"(?<=[\.!\?])", RegexOptions.Compiled);
public override void Initialize()
{