Added regular expression test in setNumber()