I don't know whether it has the precise methods required, but see bioperl.org for the Bio::Perl homepage. I would have checked myself, but I was too busy reinventing the wheel (maybe), below :-)
Tim
Comment on Re: Re: Re: Re: Progressive pattern matching