Added stock regex for accepting URLs and paths.