From 237265b3873eaeb140bc5280a935eddbd430d0ed Mon Sep 17 00:00:00 2001 From: Luke Hubmayer-Werner Date: Mon, 5 Dec 2022 22:13:10 +1030 Subject: [PATCH] 2022 Day 4 Clojure --- 2022/day4.clj | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 2022/day4.clj diff --git a/2022/day4.clj b/2022/day4.clj new file mode 100644 index 0000000..a9951b1 --- /dev/null +++ b/2022/day4.clj @@ -0,0 +1,21 @@ +(require '[clojure.string :as str]) +(def lines (str/split-lines (slurp "input/4"))) +(def number-regex #"(?:(?