Need to account for subdomains now that regexp is being used to clean start of link.
This commit is contained in:
parent
b16e2205ed
commit
c872009ce0
@ -88,7 +88,7 @@ Linkify =
|
|||||||
[a-z\d%/]
|
[a-z\d%/]
|
||||||
)
|
)
|
||||||
| # 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|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|info|int|jobs|mobi|moe|museum|name|net|org|post|pro|tel|travel|xxx|edu|gov|mil|[a-z]{2}
|
||||||
)([:/]|(?!.))
|
)([:/]|(?!.))
|
||||||
| # IPv4 Addresses
|
| # IPv4 Addresses
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user