pattern match numbers 1-5