mirror of
https://github.com/KnugiHK/WhatsApp-Chat-Exporter.git
synced 2026-07-07 14:44:53 +02:00
2ebb389ad1
Parse and match vCard properties that use grouping prefixes (e.g. item1.TEL) by extracting the property name correctly. Regression caused by the removal of the vobject dependency.
54 lines
1.2 KiB
Plaintext
54 lines
1.2 KiB
Plaintext
BEGIN:VCARD
|
|
VERSION:3.0
|
|
FN:Sample Contact
|
|
TEL;TYPE=CELL:+85288888888
|
|
END:VCARD
|
|
|
|
BEGIN:VCARD
|
|
VERSION:2.1
|
|
N:Lopez;Yard Lawn Guy;Jose;;
|
|
FN:Yard Lawn Guy, Jose Lopez
|
|
TEL;HOME:5673334444
|
|
END:VCARD
|
|
|
|
BEGIN:VCARD
|
|
VERSION:2.1
|
|
N;CHARSET=UTF-8;ENCODING=QUOTED-PRINTABLE:;=4A=6F=68=6E=20=42=75=74=6C=65=72=20=F0=9F=8C=9F=
|
|
=F0=9F=92=AB=F0=9F=8C=9F;;;
|
|
FN;CHARSET=UTF-8;ENCODING=QUOTED-PRINTABLE:=4A=6F=68=6E=20=42=75=74=6C=65=72=20=F0=9F=8C=9F=
|
|
=F0=9F=92=AB=F0=9F=8C=9F
|
|
TEL;PREF:5556667777
|
|
END:VCARD
|
|
|
|
BEGIN:VCARD
|
|
VERSION:2.1
|
|
TEL;WORK;PREF:1234567890
|
|
ORG:Airline Contact #'s
|
|
NOTE;ENCODING=QUOTED-PRINTABLE:=53=70=69=72=69=74=20=41=69=72=6C=69=
|
|
=6E=65=73=20=38=30=30=2D=37=37=32=2D=37=31=31=37=55=6E=69=74=65=64=
|
|
=20=41=69=72=6C=69=6E=65=73=20=38=30=30=2D=32=34=31=2D=36=35=32=32
|
|
END:VCARD
|
|
|
|
BEGIN:VCARD
|
|
VERSION:2.1
|
|
TEL;WORK;PREF:3451112222
|
|
X-SAMSUNGADR;ENCODING=QUOTED-PRINTABLE:;;=31=31=31=31=32=20=4E=6F=72=74=68=20=45=6C=64=72=
|
|
=69=64=67=65=20=50=61=72=6B=77=61=79;=44=61=6C=6C=61=73;=54=58;=32=32=32=32=32
|
|
ORG:James Peacock Elementary
|
|
END:VCARD
|
|
|
|
BEGIN:VCARD
|
|
VERSION:2.1
|
|
TEL;CELL:8889990001
|
|
ORG:AAA Car Service
|
|
END:VCARD
|
|
|
|
BEGIN:VCARD
|
|
VERSION:2.1
|
|
item1.TEL;CELL:7777777778
|
|
item2.TEL;CELL:7777777779
|
|
item1.FN:Racing Team
|
|
item2.FN:Racing Team
|
|
END:VCARD
|
|
|