Removed ! on instances of Search property of TTSWordFilter.

This commit is contained in:
Tom
2025-01-16 17:00:01 +00:00
parent b8de9532e2
commit f3d7c33b83
4 changed files with 4 additions and 4 deletions

View File

@ -56,7 +56,7 @@ namespace TwitchChatTTS.Hermes.Socket.Handlers
{
try
{
var re = new Regex(filter.Search!, ((RegexOptions) filter.Flag) | RegexOptions.Compiled);
var re = new Regex(filter.Search, ((RegexOptions) filter.Flag) | RegexOptions.Compiled);
re.Match(string.Empty);
filter.Regex = re;
}

View File

@ -36,7 +36,7 @@ namespace TwitchChatTTS.Hermes.Socket.Requests
try
{
var re = new Regex(filter.Search!, ((RegexOptions)filter.Flag) | RegexOptions.Compiled);
var re = new Regex(filter.Search, ((RegexOptions)filter.Flag) | RegexOptions.Compiled);
re.Match(string.Empty);
filter.Regex = re;
}

View File

@ -33,7 +33,7 @@ namespace TwitchChatTTS.Hermes.Socket.Requests
{
try
{
var re = new Regex(filter.Search!, ((RegexOptions) filter.Flag) | RegexOptions.Compiled);
var re = new Regex(filter.Search, ((RegexOptions) filter.Flag) | RegexOptions.Compiled);
re.Match(string.Empty);
filter.Regex = re;
}

View File

@ -42,7 +42,7 @@ namespace TwitchChatTTS.Hermes.Socket.Requests
try
{
var re = new Regex(current.Search!, ((RegexOptions)current.Flag) | RegexOptions.Compiled);
var re = new Regex(current.Search, ((RegexOptions)current.Flag) | RegexOptions.Compiled);
re.Match(string.Empty);
current.Regex = re;
}