Adding maths to my.cnf, regex is broken