diff options
Diffstat (limited to '2015')
-rw-r--r-- | 2015/day2.exs | 2 | ||||
-rw-r--r-- | 2015/day5.exs | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/2015/day2.exs b/2015/day2.exs index 47a00ec..faebaf0 100644 --- a/2015/day2.exs +++ b/2015/day2.exs @@ -1,4 +1,4 @@ -stream = File.stream!("inputs/day2.txt", :line, [:read]) +stream = File.stream!("inputs/day2.txt") materials = for line <- stream, into: [] do diff --git a/2015/day5.exs b/2015/day5.exs index 4e253c8..fa9cdf8 100644 --- a/2015/day5.exs +++ b/2015/day5.exs @@ -1,4 +1,4 @@ -santasList = File.stream!("inputs/day5.txt", [], :line) +santasList = File.stream!("inputs/day5.txt") niceVowelRegex = ~r/[aeiou].*[aeiou].*[aeiou]/ niceDuplicateRegex = ~r/(.)\1/ |