Don't ask to ask, just ask | |
PerlMonks |
Re: Capturing all instances of a repeating sub-pattern in regexby space_monk (Chaplain) |
on Nov 17, 2012 at 08:36 UTC ( [id://1004289]=note: print w/replies, xml ) | Need Help?? |
This question strikes me as an example of just because TMTOWDI doesn't mean you should choose the most complex. Choosing a less ambitious way of doing it will result in more maintainable Perl and I doubt it will harm your program in terms of performance too much.
A Monk aims to give answers to those who have none, and to learn from those who know more.
In Section
Seekers of Perl Wisdom
|
|