diff options
| author | 2024-12-05 16:19:57 +0100 | |
|---|---|---|
| committer | 2024-12-05 16:19:57 +0100 | |
| commit | 3b15f8a5c9c919235c34518d14d09b41cfb93884 (patch) | |
| tree | 31678e94b161903e236dff5870962081f017ded5 /app/Models/Search.php | |
| parent | 84642037350393625f0a4866ed74f564ef37973b (diff) | |
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
Diffstat (limited to 'app/Models/Search.php')
| -rw-r--r-- | app/Models/Search.php | 2 |
1 files changed, 1 insertions, 1 deletions
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); |
