http://www.perlmonks.org?node_id=288390


in reply to Re: Re3: BioInformatics - polyA tail search
in thread BioInformatics - polyA tail search

Also note that you probably want to match against [AN]{10,} so that if there are more than 10 A's or N's in a row the match does not fail.
If there are more than ten, then {10} will match just fine.