adds location

This commit is contained in:
2024-06-28 12:02:28 -07:00
parent 161218655e
commit 2ccd60a09a
4 changed files with 7 additions and 3 deletions

View File

@@ -179,7 +179,6 @@
(or (->> client
:client/location-matches
(mapcat (fn [{:keys [:location-match/location :location-match/matches]}]
(map (fn [match] [location match]) matches)))
(filter (fn [[_ match]]
(re-find (re-pattern (str "(?i)" match)) text)) )