From 301117ef9e7078fb416e4d2867464c1d78d15dbc Mon Sep 17 00:00:00 2001 From: ahm3dgg Date: Wed, 14 Jan 2026 07:16:09 +0200 Subject: [PATCH] Very weird std::regex bugs --- src/windows-emulator/process_context.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/windows-emulator/process_context.cpp b/src/windows-emulator/process_context.cpp index 2da6c31a..4d12229f 100644 --- a/src/windows-emulator/process_context.cpp +++ b/src/windows-emulator/process_context.cpp @@ -864,7 +864,7 @@ void process_context::build_knowndlls_section_table(registry_manager& registry, auto known_dll_dep_name_16 = u8_to_u16(known_dll_dep_name_8); utils::string::to_lower_inplace(known_dll_dep_name_16); - if (std::regex_match(std::move(known_dll_dep_name_8), apiset_pattern)) + if (std::regex_match(known_dll_dep_name_8, apiset_pattern)) { if (auto apiset_entry = apiset.find(known_dll_dep_name_16); apiset_entry != apiset.end()) {