Add .xyz to TLDs recognized by linkifier without http://.

This commit is contained in:
ccd0 2015-08-14 03:12:32 -07:00
parent d769c01c80
commit 83588b5894

View File

@ -79,7 +79,7 @@ Linkify =
) )
| # This should account for virtually all links posted without http: | # This should account for virtually all links posted without http:
([-a-z\d]+[.])+( ([-a-z\d]+[.])+(
aero|asia|biz|cat|com|coop|dance|info|int|jobs|mobi|moe|museum|name|net|org|post|pro|tel|travel|xxx|edu|gov|mil|[a-z]{2} aero|asia|biz|cat|com|coop|dance|info|int|jobs|mobi|moe|museum|name|net|org|post|pro|tel|travel|xxx|xyz|edu|gov|mil|[a-z]{2}
)([:/]|(?![^\s'"])) )([:/]|(?![^\s'"]))
| # IPv4 Addresses | # IPv4 Addresses
[\d]{1,3}\.[\d]{1,3}\.[\d]{1,3}\.[\d]{1,3} [\d]{1,3}\.[\d]{1,3}\.[\d]{1,3}\.[\d]{1,3}