php-autolink icon indicating copy to clipboard operation
php-autolink copied to clipboard

http://localhost/ isn't converted

Open christoph-bessei opened this issue 8 years ago • 0 comments

http://localhost/ doesn't match the regular expression of the convert function. Reason: The regular expression expects at least one dot inside the domain name.

$this->getSchemes(true) . ")://[a-zA-Z0-9-.]+.[a-zA-Z]{2,3}([/a-zA-Z0-9-._~:?#[]@!$&'()+,;=%">])?)/"

christoph-bessei avatar May 20 '17 21:05 christoph-bessei