my $max = first_match qr/Current Attainable Rate -\s*(\d+)/, @lines;