aoc2015

Advent of Code 2015 solutions in Perl.
git clone git://git.samirparikh.com/aoc2015
Log | Files | Refs | README

commit 09b3f6d5e48cef3dd433931c6ad47852d326b1fb
parent 51a829adb30dcc4dab65ffc5b2c8bc03ef68db10
Author: Samir Parikh <noreply@samirparikh.com>
Date:   Fri, 28 Oct 2022 21:56:12 +0000

code cleanup

Diffstat:
Mday10/day10.pl | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/day10/day10.pl b/day10/day10.pl @@ -20,7 +20,7 @@ sub next_string { # the capture variable $1 represents what is matched in the outer most set of # parentheses: (.)\2* -# this matches for any number (.)followed by zero or more occurrences (*) of +# this matches for any number (.) followed by zero or more occurrences (*) of # itself using a back reference (\2). # the capture variable $2 represents the number. The length of $1 represents # the number of tims that number was captured. To see how it works, uncomment