Subject: | Outlook VCard Compatibility |
Outlook uses lower case "begin:vcard" and lower case "end:vcard" tags.
I suggest the following changes in asData.pm::parse_lines because I couldn't find anything in the RFC that suggested case sensitivity for the begin and end tags...
if (/^BEGIN:(.*)/i) { # **JC regexp made case insensitive
push @path, $current;
$current = { type => $1 };
push @{ $path[-1]{objects} }, $current;
next;
}
if (/^END:(.*)/i) { # **JC regexp made case insensitive
die "END $1 in $current->{type}" unless $current->{type} eq $1;
$current = pop @path;
next;
}