Should fix the supports username in url failing test and also include one more test for a subdomain URL like http://docs.google.com, which was already supported but not tested.
How: By expecting either a . or @ after the first group of strings in the main RegEx.
Should fix the
supports username in url
failing test and also include one more test for a subdomain URL likehttp://docs.google.com
, which was already supported but not tested.How: By expecting either a
.
or@
after the first group of strings in the main RegEx.