Exclamation mark (#314)
This commit is contained in:
@@ -139,7 +139,7 @@ public sealed class ChatSanitizationManager : IChatSanitizationManager
|
||||
//WD-EDIT
|
||||
public string SanitizeOutSlang(string input)
|
||||
{
|
||||
var pattern = @"([\?\p{L}\d'`-]+)";
|
||||
var pattern = @"([\?\!\p{L}\d'`-]+)";
|
||||
|
||||
var newMessage = Regex.Replace(input, pattern ,
|
||||
match => _slangToNormal.ContainsKey(match.Groups[1].Value.ToLower()) ? _slangToNormal[match.Groups[1].Value.ToLower()] : match.Value, RegexOptions.IgnoreCase);
|
||||
|
||||
Reference in New Issue
Block a user