Changeset 2060


Ignore:
Timestamp:
02/24/10 08:54:35 (14 years ago)
Author:
amuller
Message:

Ticket #859 - Implementação da expressão regular de URL's

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/expressoMail1_2/inc/class.imap_functions.inc.php

    r2059 r2060  
    11951195                // Url found in the text and which is not a link yet should be replaced by one. 
    11961196                $validTLD = 'AERO|ARPA|ASIA|BIZ|CAT|COM|COOP|EDU|GOV|INFO|INT|JOBS|MIL|MOBI' 
    1197                         .'|MUSEUM|NAME|NET|ORG|PRO|TEL|TRAVEL|BR|UK|AR|CU|CN|ID|IN|JP|MX|DE|FR|IT|KR|ES|RU'; 
     1197                        .'|MUSEUM|NAME|NET|ORG|PRO|TEL|TRAVEL|BR|UK|US|AR|CU|CN|ID|IN|JP|MX|DE|FR|IT|KR|ES|RU'; 
    11981198                $pattern = '/(^| |[\w"]>|[ \(\[])'. // find begin of url 
    11991199                        '((http(s)?:\/\/)?'. // Http or not 
Note: See TracChangeset for help on using the changeset viewer.