This line would work if you removed the slashes. `URI.regexp` is already a regex, so we don't need to use slashes to create one -- just as if `URI.regexp` was a string, we shouldn't put quotes around it when referring to it.