fix regex for exponent