Change the regex for Equation.java