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


in reply to Re: Splitting string using two overlapping patterns
in thread Splitting string using two overlapping patterns

It looks like he's parsing the headers from output of a specific program, so it ought to be consistent. Your method and other suggestions should work, but the way he's looking to do it should be fine. This isn't large-scale logfile parsing...

Bioinformatics