An error occurs when url type has localhost with port, because url regular expression is broken.
The regular expression matched only 'localhost' followed by '/'.
Merge pull request #98 from pubannotation/bugfix_url_type_has_localhost_with_port

An error occurs when url type has localhost with port