From 3b15f8a5c9c919235c34518d14d09b41cfb93884 Mon Sep 17 00:00:00 2001 From: Alexandre Alapetite Date: Thu, 5 Dec 2024 16:19:57 +0100 Subject: Parentheses in quoted search (#7055) * Parentheses in quoted search Allow parentheses in quoted search like `author:"Bob (Team1)"` Related to https://github.com/FreshRSS/FreshRSS/pull/7054 * Doc --- app/Models/Search.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app/Models/Search.php') diff --git a/app/Models/Search.php b/app/Models/Search.php index 4a006c2d0..a887ec2f7 100644 --- a/app/Models/Search.php +++ b/app/Models/Search.php @@ -94,7 +94,7 @@ class FreshRSS_Search implements \Stringable { public function __construct(string $input) { $input = self::cleanSearch($input); $input = self::unescape($input); - $input = FreshRSS_BooleanSearch::unescapeRegexParentheses($input); + $input = FreshRSS_BooleanSearch::unescapeLiteralParentheses($input); $this->raw_input = $input; $input = $this->parseNotEntryIds($input); -- cgit v1.2.3