IIRC String.prototype.match is implicitly from the start but it would be better to be explicit: /^http:\/\//