yet another attemp to fix the url/email formatter. I've replaced preg_match_all with preg_replace_callback which seems to work for out test case.. (TICKET-60)