From 627be9de2e720f289f0b151c0057be7af0e84a72 Mon Sep 17 00:00:00 2001 From: Dylan Hardison Date: Thu, 12 May 2016 17:06:25 -0400 Subject: Bug 1270867 - confusing error message when I was just searching for a bug --- Bugzilla/Search/Quicksearch.pm | 1 + 1 file changed, 1 insertion(+) (limited to 'Bugzilla') diff --git a/Bugzilla/Search/Quicksearch.pm b/Bugzilla/Search/Quicksearch.pm index c65fe06a8..d398910dd 100644 --- a/Bugzilla/Search/Quicksearch.pm +++ b/Bugzilla/Search/Quicksearch.pm @@ -306,6 +306,7 @@ sub _parse_line { # only treat ' at the start or end of words as quotes # it's easier to do this in reverse with regexes + $line =~ s/(\w+[:=<>!])(\s+)/'$1'$2/g; $line =~ s/(^|\s|:)'/$1\001/g; $line =~ s/'($|\s)/\001$1/g; $line =~ s/\\?'/\000/g; -- cgit v1.2.3-24-g4f1b