Regex match up-front, hook up xhr funcs.