--
You received this message because you are subscribed to the Google Groups "elixir-lang-core" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elixir-lang-core+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elixir-lang-core/908c9ab7-321f-43c3-9bdc-8f695f7ebd79%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
This can be trivially implemented with the existing functionality, so I would recommend defining it in your own apps.On Sun, Mar 26, 2017 at 11:39 AM, Dmitry Rubinstein <rubins...@gmail.com> wrote:Hello!I want to propose some new features in URI module.First one is naked domain, which works something like thisassert "http://foo.bar.baz.com" |> URI.parse |> Map.get(:naked_domain) == "baz.com"orassert "http://foo.bar.baz.com" |> URI.naked_domain == "baz.com"And subdomain method:assert "http://foo.bar.baz.com" |> URI.subdomain("baz.com") == "foo.bar"May be it can be relevant.
--
You received this message because you are subscribed to the Google Groups "elixir-lang-core" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elixir-lang-co...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elixir-lang-core/908c9ab7-321f-43c3-9bdc-8f695f7ebd79%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to a topic in the Google Groups "elixir-lang-core" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/elixir-lang-core/2ncr8joN8Pg/unsubscribe.
To unsubscribe from this group and all its topics, send an email to elixir-lang-co...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elixir-lang-core/CAGnRm4Jz0LXHT-t%3DKZZTBkn1QXdezWNd5rmQYmUZ1DdaJBCFHw%40mail.gmail.com.
--
You received this message because you are subscribed to a topic in the Google Groups "elixir-lang-core" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/elixir-lang-core/2ncr8joN8Pg/unsubscribe.
To unsubscribe from this group and all its topics, send an email to elixir-lang-co...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elixir-lang-core/1f2a3d0b-3551-4165-bf86-fb74235ff79d%40googlegroups.com.