This regex should not need to happen more than once