Novice module can open images from a url

I am using a regex to check if the given path is a url.