• Use or not use Re module?

Question related to mission Unix Match. Part 1


Hi fellows! I was solving this problem without using the re module and then found out that the module actually makes the solution much easier. I just wonder what is better for my development in programming? On one hand, I should learn new libraries and modules, but on the other hand, when you try to solve a problem without external libraries, you make more effort and train some logic.