Correct grammar and modify user-excluding highlight
This commit is contained in:
@@ -112,7 +112,7 @@ public sealed partial class ChatUIController : IOnSystemChanged<CharacterInfoSys
|
||||
}
|
||||
|
||||
// Make sure any name tagged as ours gets highlighted only when others say it.
|
||||
keyword = Regex.Replace(keyword, "^@", "(?<=(?<=/name.*)|(?<=,.*\"\".*))");
|
||||
keyword = Regex.Replace(keyword, "^@", @"(?<=(?<=,.*"".*)|(?<!\[Name].*))");
|
||||
|
||||
_highlights.Add(keyword);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user