in reply to Re^2: regex behaves differently in split vs substitute?in thread regex behaves differently in split vs substitute?
print ">>$1<<\n" if $line =~ /^[a-z-]+(\d.*)$/; [download]
$line =~ /^[a-z-]+(\d.*)$/ and print ">>$1<<\n" ; [download]