modified the decimalDigits regex

modified the regex in the decimalDigits class
to handle the case of user being able to enter "."
right away, as some users prefer to start their
input like that