Closed chadlieberman closed 8 years ago
local _, count = string.gsub(host, "%.", "") if count > 1 then host = string.lower(string.gsub(host, "^%w*(.-)%.", "")) end
At least will work for alphanumeric subdomains...
Closed with 10261f3c7a32c8b559d7554bde887d7853f90704
local _, count = string.gsub(host, "%.", "") if count > 1 then host = string.lower(string.gsub(host, "^%w*(.-)%.", "")) end