diff --git a/modules/reitit-core/src/reitit/impl.cljc b/modules/reitit-core/src/reitit/impl.cljc index 0a29f490..3ba337ab 100644 --- a/modules/reitit-core/src/reitit/impl.cljc +++ b/modules/reitit-core/src/reitit/impl.cljc @@ -82,7 +82,7 @@ ;; TODO: is this correct? (defn- re-quote [x] #?(:clj (Pattern/quote x) - :cljs (str/replace-all x #"([.?*+^$[\\]\\\\(){}|-])" "\\$1"))) + :cljs (str/replace x #"([.?*+^$[\\]\\\\(){}|-])" "\\$1"))) (defn- path-regex [{:keys [path-parts path-constraints] :as route}] (let [[pp & pps] path-parts diff --git a/project.clj b/project.clj index 82303da3..e183ad0c 100644 --- a/project.clj +++ b/project.clj @@ -55,7 +55,7 @@ "modules/reitit-sieppari/src"] :dependencies [[org.clojure/clojure "1.9.0"] - [org.clojure/clojurescript "1.10.339"] + [org.clojure/clojurescript "1.10.439"] ;; modules dependencies [metosin/reitit]