Skip to content

v1.1.0

Compare
Choose a tag to compare
@rushmorem rushmorem released this 03 Jan 18:28
· 175 commits to main since this release

Now you can parse URLs using List::parse_url or hosts that can potentially be IP addresses using List::parse_host.

List::parse_domain rejects everything that is not a domain name. While this is very useful, domains and IP addresses are usually used interchangeably. Having to first check whether a host is an IP address before trying to parse it as a domain is not very convenient, hence List::parse_host. List::parse_url takes it a step further and allows you to just pass in a URL instead.