Change:
print "ONE: $1\n"; [download]
To:
print "ONE: $+\n"; [download]
To get the output you want.
In reply to Re: help with regex by jwkrahn in thread help with regex by Anonymous Monk