Well first the last two characters of the pattern you've posted say match any characters (except newline) from 0 to infinity so any string that starts with your allowed characters will pass
If you meant to test the whether the entire input you need to put the boundary anchors on each end of the string
The other error is the placement of the hyphen character, where you are actually are trying to match that character. As written that character isn't being matched another one is.
"In theory, theory and practice are the same. In practice, they are not."