v::digit()
This is similar to v::alnum(), but it doesn't allow a-Z. It also accepts empty values and whitespace, so use v::notEmpty() and v::noWhitespace() when appropriate.
v::notEmpty()
v::noWhitespace()
See also: