Correct grammar and modify user-excluding highlight

This commit is contained in:
vitopigno
2025-06-08 02:25:21 +02:00
parent a60d5d4002
commit 881cf66e4e
3 changed files with 4 additions and 4 deletions

View File

@@ -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);
}