Yours match every answer that begins with y or ends with yes, try for example young or eyes.~/^(y|yes)$/i
In reply to Re: prompting a user for input
by Anarion
in thread prompting a user for input
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |