replace URI Class with plain Regexp.