From e28ccabf72c16334a9a28dd1658768b9c679cbde Mon Sep 17 00:00:00 2001 From: bom Date: Wed, 27 Jul 2022 11:53:10 +0200 Subject: [PATCH] Move input to end of pred function --- src/main/cljc/dda/c4k_common/predicate.cljc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/cljc/dda/c4k_common/predicate.cljc b/src/main/cljc/dda/c4k_common/predicate.cljc index 5a88b15..fa890d1 100644 --- a/src/main/cljc/dda/c4k_common/predicate.cljc +++ b/src/main/cljc/dda/c4k_common/predicate.cljc @@ -15,7 +15,7 @@ (some? (re-matches #"(?=^.{4,253}$)(^((?!-)[a-zA-Z0-9-]{0,62}[a-zA-Z0-9]\.)+[a-zA-Z]{2,63}$)" input)))) (defn string-of-separated-by? - [input spec-function separator] + [spec-function separator input] (every? true? (map spec-function (str/split input separator)))) (defn letsencrypt-issuer?