my $dist = $1 if ($str =~ /dist:.([0-9]+)/s ); [download]
In reply to Re: newline in pattern matching by Wonko the sane in thread newline in pattern matching by Anonymous Monk