in reply to Regular Expression Trick
@instances = m/([^:]+::(?:[^:]+::[^:]+(?:\||$))+)/g; [download]