Skip to content

Commit

Permalink
changed the regular expression for parsing the attributes of GTF files
Browse files Browse the repository at this point in the history
  • Loading branch information
fabrice legeai committed Mar 10, 2017
1 parent 225fc75 commit 9489347
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Parser.pm
Expand Up @@ -206,7 +206,7 @@ sub parseAttributes{
# store ids and additional information in second hash
foreach my $attr ( @extrafields ) {

next unless $attr =~ /^\s*(.+)\s(.+)$/;
next unless $attr =~ /^\s*(.+?)\s(.+)$/;
my $c_type = $1;
my $c_value = $2;
$c_value=~ s/\"//g;
Expand Down

0 comments on commit 9489347

Please sign in to comment.