Didn't we discuss converting these strings into URL objects before examining them? You can have a genuine speakerdeck URL that says "slideshare.net" in it and possibly vice versa.