fix the number regex to match single digit values

The patched regex: http://regex101.com/r/xX7hC6/3

The old one: http://regex101.com/r/xX7hC6/4

#31