From 25272f7c71534dc24e9a8e9145784aa952605647 Mon Sep 17 00:00:00 2001 From: Vitaliy Kuznetsov Date: Tue, 19 Jun 2018 12:50:27 +0300 Subject: [PATCH] Fixed regexp for VCF Version 2.1 --- vobject/base.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vobject/base.py b/vobject/base.py index 26a0d39..4b0a3b3 100644 --- a/vobject/base.py +++ b/vobject/base.py @@ -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 {name!s})\.)?(?P {name!s}) # name group - (?P (?: {param!s} )* ) # params group (may be empty) + (?P ;?(?: {param!s} )* ) # params group (may be empty) : (?P .* )$ # value group """.format(**patterns)