}
if (preg_match("/^([^ ]+@[^ ]+) \((.*)\)$/", $text, $regs)) {
$result = $mailto . $regs[1] . $subject . '">' . banana_htmlentities($regs[2]) . '</a>';
}
if (preg_match("/^([^ ]+@[^ ]+) \((.*)\)$/", $text, $regs)) {
$result = $mailto . $regs[1] . $subject . '">' . banana_htmlentities($regs[2]) . '</a>';
if (preg_match("/^\"?([^<>\"]+)\"? +<(.+@.+)>$/", $text, $regs)) {
$nom = preg_replace("/^'(.*)'$/", '\1', $regs[1]);
$nom = stripslashes($nom);
if (preg_match("/^\"?([^<>\"]+)\"? +<(.+@.+)>$/", $text, $regs)) {
$nom = preg_replace("/^'(.*)'$/", '\1', $regs[1]);
$nom = stripslashes($nom);
if (preg_match("/^\"?([^<>\"]+)\"? +<(.+@.+)>$/", $text, $regs)) {
$name = preg_replace("/^'(.*)'$/", '\1', $regs[1]);
$name = stripslashes($name);
if (preg_match("/^\"?([^<>\"]+)\"? +<(.+@.+)>$/", $text, $regs)) {
$name = preg_replace("/^'(.*)'$/", '\1', $regs[1]);
$name = stripslashes($name);