added match method using regex to yes_or_no? method