Change equation regex.