rename regex var