Skip to content

Commit

Permalink
EntrezGene & Sequence: Fixed new "unescaped left brace in regex" warn…
Browse files Browse the repository at this point in the history
…ing from Perl 5.22
  • Loading branch information
fjossandon committed Dec 14, 2015
1 parent 1fc7879 commit a9b0183
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/Bio/ASN1/EntrezGene.pm
Original file line number Diff line number Diff line change
Expand Up @@ -312,7 +312,7 @@ sub _parse
elsif($data->{$id}) { $data->{$id} = [$data->{$id}, $value] } # hash value has a second terminal value now!
else { $data->{$id} = $value } # the first terminal value
}
elsif($self->{input} =~ /\G{/cg)
elsif($self->{input} =~ /\G\{/cg)
{
$self->{depth}++;
push(@{$data->{$id}}, $self->_parse());
Expand Down
2 changes: 1 addition & 1 deletion lib/Bio/ASN1/Sequence.pm
Original file line number Diff line number Diff line change
Expand Up @@ -305,7 +305,7 @@ sub _parse
elsif($data->{$id}) { $data->{$id} = [$data->{$id}, $value] } # hash value has a second terminal value now!
else { $data->{$id} = $value } # the first terminal value
}
elsif($self->{input} =~ /\G{/cg)
elsif($self->{input} =~ /\G\{/cg)
{
$self->{depth}++;
push(@{$data->{$id}}, $self->_parse());
Expand Down

0 comments on commit a9b0183

Please sign in to comment.