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.
In reply to Re: Capturing all instances of a repeating sub-pattern in regex
by space_monk
in thread Capturing all instances of a repeating sub-pattern in regex
by wanna_code_perl
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |