in reply to Regex negative number question
#find lines that contain the same number twice ... if ($line =~ /(\d+)[^\d]*\1[^\d]/o) [download]