From ad40e2734579d804665a49402f150196f826cbdb Mon Sep 17 00:00:00 2001 From: Christian Mueller Date: Tue, 25 Feb 2014 18:27:31 +0100 Subject: [PATCH] minor regexp improvement --- src/notehub/storage.clj | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/notehub/storage.clj b/src/notehub/storage.clj index c6a6481..5ac4f0b 100644 --- a/src/notehub/storage.clj +++ b/src/notehub/storage.clj @@ -9,7 +9,7 @@ (defn sign "Returns the MD5 hash for the concatenation of all passed parameters" [& args] - (let [input (sreplace (apply str args) #"\r*" "")] + (let [input (sreplace (apply str args) #"\r+" "")] (do (.reset md5Instance) (.update md5Instance (.getBytes input)) (apply str