[Bioperl-l] EMBL ID line parsing error

Heikki Lehvaslaiho heikki at ebi.ac.uk
Wed Jul 13 17:49:39 EDT 2005


Hi Pierre,

You are quite right, ([^;]*); or ([^;]+); really is a lot better way of 
writing it and that is the way I committed the fix:

 ($name, $mol, $div) = 
   ($line =~ /^ID\s+(\S+).*;\s+([^;]+);\s+(\S+);/);


I started writing the email as note for myself when I first verified the bug, 
and then forgot to change the text in the email before sending. 

Sorry to waste your time,

     -Heikki


On Wednesday 13 July 2005 19:08, Pierre Rioux wrote:
> Small correction.
>
> I wrote:
> >                             ([^;]);
>
> But it should be:
>
>                               ([^;]*);
>
> I hope mail readers out there won't turn this into
> some kind of weird smiley. :-)
>
> Pierre
>
>
>
> ____________________________________________________
> Start your day with Yahoo! - make it your home page
> http://www.yahoo.com/r/hs

-- 
______ _/      _/_____________________________________________________
      _/      _/                      http://www.ebi.ac.uk/mutations/
     _/  _/  _/  Heikki Lehvaslaiho    heikki at_ebi _ac _uk
    _/_/_/_/_/  EMBL Outstation, European Bioinformatics Institute
   _/  _/  _/  Wellcome Trust Genome Campus, Hinxton
  _/  _/  _/  Cambridge, CB10 1SD, United Kingdom
     _/      Phone: +44 (0)1223 494 644   FAX: +44 (0)1223 494 468
___ _/_/_/_/_/________________________________________________________


More information about the Bioperl-l mailing list