aboutsummaryrefslogtreecommitdiff
path: root/2015/15/puzzles.py
diff options
context:
space:
mode:
authorThomas Voss <thomasvoss@live.com> 2021-12-02 10:05:22 +0100
committerThomas Voss <thomasvoss@live.com> 2021-12-02 10:05:22 +0100
commit8e6440d8fd69caedc11192dca02a6ae28f5248cf (patch)
tree3a99cb992870acbea9d887523f42378d9b1b28a2 /2015/15/puzzles.py
parent00b67942fed9961bd8d46d6f4fdae97dd074bb4e (diff)
Improve the makeshift macros
Diffstat (limited to '2015/15/puzzles.py')
-rw-r--r--2015/15/puzzles.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/2015/15/puzzles.py b/2015/15/puzzles.py
index 506e11f..5c3be94 100644
--- a/2015/15/puzzles.py
+++ b/2015/15/puzzles.py
@@ -12,8 +12,7 @@ def main() -> None:
m = re.match(
# START PART 1
r"[^\-0-9]+([\-0-9]+)[^\-0-9]+([\-0-9]+)[^\-0-9]+([\-0-9]+)[^\-0-9]+([\-0-9]+)",
- # END PART 1
- # START PART 2
+ # END PART 1 START PART 2
r"[^\-0-9]+([\-0-9]+)[^\-0-9]+([\-0-9]+)[^\-0-9]+([\-0-9]+)[^\-0-9]+([\-0-9]+)[^\-0-9]+([0-9]+)",
# END PART 2
line,