update to regexp