Skip to content

Commit

Permalink
Merge pull request #121 from farmovit/master
Browse files Browse the repository at this point in the history
Fixed regexp for VCF Version 2.1
  • Loading branch information
wpercy authored Jul 8, 2018
2 parents 4b72717 + 25272f7 commit da35304
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vobject/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -774,7 +774,7 @@ class NativeError(VObjectError):
# get a full content line, break it up into group, name, parameters, and value
patterns['line'] = r"""
^ ((?P<group> {name!s})\.)?(?P<name> {name!s}) # name group
(?P<params> (?: {param!s} )* ) # params group (may be empty)
(?P<params> ;?(?: {param!s} )* ) # params group (may be empty)
: (?P<value> .* )$ # value group
""".format(**patterns)

Expand Down

0 comments on commit da35304

Please sign in to comment.