This isn't detailed enough.  You need to describe how the regexp is matched against the answer. As the code is now, the regexp has to match anywhere in the answer.  To force a complete match, you have to specify the regex like `"^foo$"`