[refactor] Greatly reduce the complexity of the regexp by pre-slicing it up.
[refactor] Greatly reduce the complexity of the regexp by pre-slicing it up.

This is progress towards fully fixing #4 as the regexp would only need to parse the
port out of the host name.

unshiftio/url-parse,unshiftio/url-parse