[Bioperl-guts-l] [Bug 3022] New: Regexp forget while parsing withrefm references

bugzilla-daemon at portal.open-bio.org bugzilla-daemon at portal.open-bio.org
Fri Mar 5 05:54:43 EST 2010


           Summary: Regexp forget while parsing withrefm references
           Product: BioPerl
           Version: 1.6 branch
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Keywords: Bioperl
          Severity: minor
          Priority: P2
         Component: Core Components
        AssignedTo: bioperl-guts-l at bioperl.org
        ReportedBy: tuco at pasteur.fr


I discovered that 'references' from withrefm enzyme format is not well parsed.
Actually it is, but it remains the local line separator as the last references
into the array of references as shown below :

'_references' => [
   'Seurinck, J., van Montagu, M., Unpublished observations.',

Here is the diff from Bio::Restriction::IO::withrefm fixing the problem:

diff Bio/Restriction/IO/withrefm.pm `perldoc -l Bio::Restriction::IO::withrefm`
<         my ($refs) = $entry =~ /<8>(.+)<1>/s;
>         my ($refs) = $entry =~ /<8>(.+)/s;

Can someone fix it?



Configure bugmail: http://bugzilla.open-bio.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

More information about the Bioperl-guts-l mailing list