summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
4faa6b1)
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@958
7612ce4b-ef26-0410-bec9-
ea0150e637f0
/* Be cautious of "user@host.com" */
function parseAddrs($text) {
if (trim($text) == "")
/* Be cautious of "user@host.com" */
function parseAddrs($text) {
if (trim($text) == "")
$text = str_replace(" ", "", $text);
$text = ereg_replace('"[^"]*"', "", $text);
$text = ereg_replace("\([^\)]*\)", "", $text);
$text = str_replace(" ", "", $text);
$text = ereg_replace('"[^"]*"', "", $text);
$text = ereg_replace("\([^\)]*\)", "", $text);