AnnouncementsIntroductionsAITechnologyDataScienceInfoSecDevOpsProgrammingMyProjectJobsAskMatrixBooksSiteThemesIdeas4MatrixHelpTop Subs
2

Did anyone else use regular expressions for this solve?

Comment preview
[-]JasonMitchell0(+0|0)

Thanks for starting this thread. I'm doing this on more than one forum and didn't get on this one till now.

I did use regex. Especially with the spec that the digits are 1-3 in length, that's just going to throw a real curve ball with any other approach while regex will handle that really easily.

The real question I have for people is if they used more regex in part two or handled the do don't blocks another way? I almost used regex for that but I remembered another way to do it.