updated decimal regexp, this also fixes a bug for SRT function