mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-06-25 12:21:26 +02:00
needs ungreedy, to not include quotes
This commit is contained in:
parent
c8bee10afc
commit
ee51d2890c
@ -69,7 +69,7 @@ class Avatar
|
|||||||
{
|
{
|
||||||
return [];
|
return [];
|
||||||
}
|
}
|
||||||
if (preg_match("/^\"?'?(.*)'?\"?\s+<([^<>'\"]+)>$/", $address, $matches))
|
if (preg_match("/^\"?'?(.*?)'?\"?\s+<([^<>'\"]+)>$/", $address, $matches))
|
||||||
{
|
{
|
||||||
if (($parts = preg_split('/[, ]+/', $matches[1])))
|
if (($parts = preg_split('/[, ]+/', $matches[1])))
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user