Use the HTTP regex to match a URL before opening it.