updated the component to work with v1.0.0-rc
added `digit`s alias for `numbersOnly` and made the regexp is accessable outside the module e.g. for listing the invalid characters in error messages