mirror of
https://github.com/HIllya51/LunaTranslator.git
synced 2024-12-27 15:44:12 +08:00
.
This commit is contained in:
parent
8805193f5f
commit
544caa865a
@ -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";
|
||||
|
Loading…
x
Reference in New Issue
Block a user