Move Regexp so that we only compile it once.