From 213ec487c60ce561fdaf5365e093eb671bac0585 Mon Sep 17 00:00:00 2001 From: Joe Hildebrand Date: Tue, 3 Dec 2024 08:49:35 -0700 Subject: [PATCH] Numbers are 1-3 digits --- day3.peggy | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/day3.peggy b/day3.peggy index da76dbd..e92833e 100644 --- a/day3.peggy +++ b/day3.peggy @@ -8,4 +8,4 @@ command / . { return null } num - = n:$[0-9]+ { return parseInt(n, 10) } \ No newline at end of file + = n:$[0-9]|1..3| { return parseInt(n, 10) } \ No newline at end of file