
July 13th, 2010, 06:32 PM
|
|
Contributing User
|
|
Join Date: Jan 2004
Location: Constant Limbo
|
|
@delnan:
The regex handles the class of inputs that begin with the letter y in a case insensitive way. You know: Yes, yeah, y, yuppers, yesterday, Yummy.
Perhaps something along the lines of
Code:
exit unless getc != 121
would have been better?
I figured something the OP could digest and play with would be appropriate. Although, I do see the traces of a context switch in there: parenthesis and a semicolon. *shudders*
Last edited by L7Sqr : July 13th, 2010 at 06:35 PM.
|