Allow regexp type param for valid dependence