This commit is contained in:
恍兮惚兮 2024-12-02 21:46:50 +08:00
parent 8805193f5f
commit 544caa865a

View File

@ -239,6 +239,7 @@ bool InsertCatSystem2Hook()
hp.filter_fun = [](TextBuffer *buffer, HookParam *hp)
{
auto _ = std::regex_replace(buffer->strA(), std::regex(R"(\[(.+?)/.+\])"), "$1");
strReplace(_, "\\@", "");
buffer->from(_);
};
hp.lineSeparator = L"\\n";