DEV Community

Discussion on: Weekly Challenge 091

Collapse
 
simongreennet profile image
Simon Green

And without failure, the first Perl pull request (by Neil) has the solution to the first task using just a regular expression. As always, I never look at other people's solutions until after I have submitted my own.

My failure was I was trying to use \1 for the inner match when I actually wanted \2 #TIL