[Bioperl-l] EMBL file with space before quoted, multi-line qualifier value

Adam Sjøgren adsj at novozymes.com
Thu Apr 9 13:03:17 UTC 2015


Adam writes:

> -        my( $qualifier, $value ) = m{^/([^=]+)(?:=(.+))?}
> +        my( $qualifier, $value ) = m{^/([^=]+)*(?:=\s*(.+))?}
                                                 |
I got a '*' to many there -----------------------'

I (only) meant to add the '\s*' after the '=':

+        my( $qualifier, $value ) = m{^/([^=]+)(?:=\s*(.+))?}

Sorry!

-- 
                                                          Adam Sjøgren
                                                    adsj at novozymes.com



More information about the Bioperl-l mailing list