- or download this
my @find = $line[$i] =~ /(?:\A|\t)(abc\d+)(?=\t|\z)/g;
- or download this
my @find = $line[$i] =~ /(?:\A|\t)(abc\d+)(?=\t|\z)/
my %count;
$count{$_}++ for @find;
- or download this
while ($line[i] =~ /(?:\A|\t)(abc\d+)(?=\t|\z)/g) {
$count{$1}++;
}