|
|
@@ -73,6 +73,7 @@ class FreshRSS_Search {
|
|
|
|
|
|
public function __construct(string $input) {
|
|
|
$input = self::cleanSearch($input);
|
|
|
+ $input = self::unescape($input);
|
|
|
$this->raw_input = $input;
|
|
|
|
|
|
$input = $this->parseNotEntryIds($input);
|
|
|
@@ -662,4 +663,9 @@ class FreshRSS_Search {
|
|
|
}
|
|
|
return trim($input);
|
|
|
}
|
|
|
+
|
|
|
+ /** Remove escaping backslashes for parenthesis logic */
|
|
|
+ private static function unescape(string $input): string {
|
|
|
+ return str_replace(['\\(', '\\)'], ['(', ')'], $input);
|
|
|
+ }
|
|
|
}
|