Generated regex now capture terms with degree > 1