in reply to Golf challenge: Line-based parsing
You might read the data in as records, rather than one line to split.
{ local $/="Index: "; dump { map { /(.+)/ => [/^interesting line (.+)/mg ] } (<DATA>)[1,-1 +] } } [download]