|
|
@@ -136,7 +136,7 @@ DROP TRIGGER IF EXISTS blocks_au;
|
|
|
(string/replace " | " " OR ")
|
|
|
(string/replace " not " " NOT "))]
|
|
|
(cond
|
|
|
- (re-find #"[^\w\s]" q) ; punctuations
|
|
|
+ (and (re-find #"[^\w\s]" q) (not (some #(string/includes? match-input %) ["AND" "OR" "NOT"]))) ; punctuations
|
|
|
(str "\"" match-input "\"*")
|
|
|
(not= q match-input)
|
|
|
(string/replace match-input "," "")
|