Removed ! on instances of Search property of TTSWordFilter.
This commit is contained in:
@ -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;
|
||||
}
|
||||
|
@ -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;
|
||||
}
|
||||
|
@ -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;
|
||||
}
|
||||
|
@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user