Got rid of unnecessary ^ in uri regexes.