Fix regex equation.