From a37b74af880c33e5f76aa56758d070df526f2086 Mon Sep 17 00:00:00 2001 From: Kohei Yoshino Date: Thu, 25 Jul 2019 12:07:22 -0400 Subject: [PATCH] no bug - Fix an error in regex --- Bugzilla/Search.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Bugzilla/Search.pm b/Bugzilla/Search.pm index 13a4ca279..9f536792e 100644 --- a/Bugzilla/Search.pm +++ b/Bugzilla/Search.pm @@ -2947,7 +2947,7 @@ sub _component_nonchanged { # Allow to search product/component pairs like "Core::General" with a simple # operator. Since product/component names may include spaces, other operators # like `anywords` won't work. - if ($args->{operator} =~ /^(:?(:?not)?equals)$/ + if ($args->{operator} =~ /^(?:(?:not)?equals)$/ && $args->{value} =~ /^(?:(.+)\s*::\s*)?(.+)$/) { $product = $1; -- 2.47.3