http://www.perlmonks.org?node_id=1032609


in reply to Help modifying recursive regex

Thank you, HDB and Choroba, for your elegant and enlightening solutions.

I had to do something similar a few weeks ago, and my solution was far more complicated, at least 3 times as much code. I wish I had thought about something similar to your proposals (and hope I will next time). I really learned something from your posts.