Fixed issue about number regexp
when entering single-digit numbers, validator was returning false