Safe Haskell | Safe |
---|---|
Language | Haskell2010 |
Documentation
parseTLDURI :: URI -> Maybe (Text, Text, Text) Source #
Parse a URI
, and separate the subdomain, domain, and TLD of a URI.
parseTLD :: String -> Maybe (Text, Text, Text) Source #
Parse a String
URI, and separate the subdomain, domain, and TLD.
parseTLDText :: Text -> Maybe (Text, Text, Text) Source #
Parse a Text
URI, and separate the subdomain, domain, and TLD.
separateTLD :: URI -> Maybe (Text, Text, Text) Source #
Deprecated: Use parseTLDURI
instead.
separateTLD' :: Text -> Maybe (Text, Text, Text) Source #
Separate the subdomain, domain, and TLD of a Text
string. You probably want to use parseTLDText
.