Skip to content

Commit

Permalink
Merge pull request #51 from lennax/lenna
Browse files Browse the repository at this point in the history
Make metadata RE reluctant (stop on first = not last)
  • Loading branch information
James Casbon committed Jun 18, 2012
2 parents a99a4c4 + 139dc6c commit 9e075dd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vcf/parser.py
Expand Up @@ -159,7 +159,7 @@ def __init__(self):
Type=(?P<type>.+),
Description="(?P<desc>.*)"
>''', re.VERBOSE)
self.meta_pattern = re.compile(r'''##(?P<key>.+)=(?P<val>.+)''')
self.meta_pattern = re.compile(r'''##(?P<key>.+?)=(?P<val>.+)''')

def vcf_field_count(self, num_str):
if num_str == '.':
Expand Down

0 comments on commit 9e075dd

Please sign in to comment.