I heard the question was difficult before solving it, and then I was surprised when I didn't hit any speed bumps. The overlapping case didn't even occur to me. It turns out I stumbled upon a simple solution: use two regexes. One to match the first digit, and one to match the last. Then the overlapping is a total non-issue.
stefandesu|2 years ago
unknown|2 years ago
[deleted]
abound|2 years ago
pprotas|2 years ago
recursive|2 years ago
https://mutraction.dev/link/c3