http://tstzmgqansvqfzr3qrkehszmlhjqbpqp7pwncrzr72ohyygrnbuu26qd.onion/git/auto_linker/commit/35810b945ee5e67c5a7a1a962dd940fd3bc98cbd.html
(@match_url, buffer) + Regex.run(@match_url, buffer, capture: [:tld]) |> is_valid_tld?() end
end + def is_valid_tld?(["." <> tld]), do: tld in @tlds + def is_valid_tld?(_), do: false + @doc false
def match_phone(buffer) do
case Regex.scan(@match_phone, buffer) do diff --git a/ priv/tlds.txt b/ priv/tlds.txt @@ -0,0 +1,1543 @@ +aaa +aarp +abarth +abb +abbott +abbvie +abc +able +abogado +abudhabi +ac +academy +accenture +accountant +accountants +aco +active +actor +ad +adac...