in reply to regex is not working as I intended
It seems to me that this should work correctly (but can't test now on my mobile device):
my $regex = qr / "([^"]+)" | '([^']+)' | (.+) /x; [download]