handles basic ()* input as long as nothing is after the *