Thanks Homer.

  • UndercoverUlrikHD@programming.dev
    link
    fedilink
    arrow-up
    2
    ·
    7 months ago

    Hmm, I did it the opposite. Found every number and passed a list of every adjacent position of the number to check for non-digit/dot/non-whitespace.

    Took a bit longer to solve part 2 due to that approach though.