Use regex checks for srs string to avoid floating point 32bit/64bit fail.