Use a regex instead of URI.absolute