Make use of regular expression in nucleotide-count/dna.rb