comparison program/lib/Roundcube/rcube_vcard.php @ 12:5039cc34571f

some old, mostly new 7.3->8.4 changes needed
author Charlie Root
date Thu, 28 Aug 2025 10:37:42 -0400
parents aff04b06b685
children 73124dd49283
comparison
equal deleted inserted replaced
11:aff04b06b685 12:5039cc34571f
534 // convert special types (like Skype) to normal type='skype' classes with this simple regex ;) 534 // convert special types (like Skype) to normal type='skype' classes with this simple regex ;)
535 '/item(\d+)\.(TEL|EMAIL|URL)([^:]*?):(.*?)item\1.X-ABLabel:(?:_\$!<)?([\w\-() ]*)(?:>!\$_)?./si', 535 '/item(\d+)\.(TEL|EMAIL|URL)([^:]*?):(.*?)item\1.X-ABLabel:(?:_\$!<)?([\w\-() ]*)(?:>!\$_)?./si',
536 '/^item\d*\.X-AB.*$/mi', // remove cruft like item1.X-AB* 536 '/^item\d*\.X-AB.*$/mi', // remove cruft like item1.X-AB*
537 '/^item\d*\./mi', // remove item1.ADR instead of ADR 537 '/^item\d*\./mi', // remove item1.ADR instead of ADR
538 '/\n+/', // remove empty lines 538 '/\n+/', // remove empty lines
539 '/^(N:[^;\R]*)$/m', // if N doesn't have any semicolons, add some 539 '/^(N:[^;\n\r]*)$/m', // if N doesn't have any semicolons, add some
540 ), 540 ),
541 array( 541 array(
542 '\2;type=\5\3:\4', 542 '\2;type=\5\3:\4',
543 '', 543 '',
544 '', 544 '',