From fab8ee23a4a8ffea5a66b6f2af8231e0c6ca234e Mon Sep 17 00:00:00 2001 From: Valery Mironov <32071355+MBkkt@users.noreply.github.com> Date: Thu, 21 Dec 2023 17:19:39 +0100 Subject: [PATCH] Fix (#583) --- core/utils/wildcard_utils.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/utils/wildcard_utils.cpp b/core/utils/wildcard_utils.cpp index 99f4b5112..dcddfbd28 100644 --- a/core/utils/wildcard_utils.cpp +++ b/core/utils/wildcard_utils.cpp @@ -60,7 +60,6 @@ WildcardType ComputeWildcardType(bytes_view pattern) noexcept { auto prev_any_str = std::exchange(curr_any_str, 0); if (escaped) { escaped = false; - seen_escaped = true; continue; } switch (*it) { @@ -74,6 +73,7 @@ WildcardType ComputeWildcardType(bytes_view pattern) noexcept { return WildcardType::kWildcard; case WildcardMatch::kEscape: escaped = true; + seen_escaped = true; break; default: break;