in reply to Re^4: Getting regular expression rightin thread Getting regular expression right
if ($_[0] =~ /^([^:]+):([^|]+)(?:\|(.*))?$/ || $_[0] =~ /^([^|])+\|(.*)$/) { [download]