Update digit regex to accept -1

In order to set qps/qpd=-1

Not a regex guru but that should be good enough...