Closed capnbab closed 7 years ago
This commit addresses issue #13
Previously, if URL-Detector encountered something like... first.last@domain.com
first.last@domain.com
...it would detect two separate URLs: http://first.last http://domain.com
http://first.last
http://domain.com
I believe the desired behavior is for one URL to be detected, with getHost() returning "domain.com" and getUsername() returning "first.last"
getHost()
getUsername()
This commit addresses issue #13
Previously, if URL-Detector encountered something like...
first.last@domain.com
...it would detect two separate URLs:
http://first.last
http://domain.com
I believe the desired behavior is for one URL to be detected, with
getHost()
returning "domain.com" andgetUsername()
returning "first.last"