From ca7f9bff55f3bfd5a5cfd0b0c3eac9fdb80fb909 Mon Sep 17 00:00:00 2001 From: James Reeves Date: Fri, 1 Feb 2019 23:58:35 +0000 Subject: [PATCH] Add '.' to allowed profile hint characters --- lein-template/src/leiningen/new/duct.clj | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lein-template/src/leiningen/new/duct.clj b/lein-template/src/leiningen/new/duct.clj index 71a06d8..2b3d01d 100644 --- a/lein-template/src/leiningen/new/duct.clj +++ b/lein-template/src/leiningen/new/duct.clj @@ -39,7 +39,7 @@ "src/duct_hierarchy.edn" (resource "base/duct_hierarchy.edn")}}) (defn profile-names [hints] - (for [hint hints :when (re-matches #"\+[A-Za-z0-9-/]+" hint)] + (for [hint hints :when (re-matches #"\+[A-Za-z0-9-/.]+" hint)] (keyword (subs hint 1)))) (defn profile-function-symbol [profile-kw]