From 6c58b90518c30a165db1ee8ea34e0f3d12c6c898 Mon Sep 17 00:00:00 2001 From: Alexandre Alapetite Date: Thu, 24 Oct 2024 22:34:29 +0200 Subject: Fix regex for references to user queries (#6936) https://github.com/FreshRSS/FreshRSS/pull/6926#issuecomment-2432712495 --- app/Models/BooleanSearch.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Models/BooleanSearch.php b/app/Models/BooleanSearch.php index 749dbdfa5..ede705416 100644 --- a/app/Models/BooleanSearch.php +++ b/app/Models/BooleanSearch.php @@ -35,9 +35,9 @@ class FreshRSS_BooleanSearch { $this->raw_input = $input; if ($level === 0) { + $input = self::escapeRegexParentheses($input); $input = $this->parseUserQueryNames($input, $allowUserQueries); $input = $this->parseUserQueryIds($input, $allowUserQueries); - $input = self::escapeRegexParentheses($input); $input = trim($input); } -- cgit v1.2.3