Closed (outdated)
Project:
Quiz
Version:
7.x-5.x-dev
Component:
Code - Short/long answer
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
1 Feb 2011 at 18:00 UTC
Updated:
26 Jul 2024 at 19:06 UTC
Jump to comment: Most recent
Comments
Comment #1
wrightnow commentedAgreed - this is an annoying side-effect of the regex system that will stop us using it in production. There should be an option (at least) for a key|value display here so that we can display CATS as the correct answer while allowing the regex to match ?CATS?.
Obviously, the more complex (and useful) the regex gets, the less value it has as a user display item.
Comment #2
marcmolenaar commentedWe are currently creating quizzes using the latest update of the Quiz module for Drupal 6. We use regular expressions to evaluate Short Answer questions. When the result comes back to the user it is indeed showing the regex as the correct answer and this cannot be changed in any of the quiz settings. Because these quizzes are intended for a beginners language course, these regex feedbacks are very disturbing.
I sincerely hope that this problem will be fixed before April 2011, when we plan to go live with our website.
Comment #3
lejon commentedI would also like this feature.
Are there also examples of simple regular expressions? The link provided for regex information is greek to me.
Have any users of Quiz any examples? Do you simply type
?keyword?
In the answer box? How about if you are looking to match multiple words with AND or OR?
Comment #4
diego ruiz del árbol commentedHi!
I am having the same problem.
It will be nice to have a "feedback if correct" text area, in order to avoid the Quiz user to see the regex.
Thanks in advance and congrat for such a great module.
Diego
Comment #5
mjcarter commentedI'd also like to see this functionality. I can see a limited way to do it on the clientside with JS replace (would only work with simple patterns) but it would be best tackled on the server side.
Comment #6
djdevinComment #7
smustgrave commentedWith D7 approaching EOL soon I've started the process of triaging the D7queue here. Since there hasn't been any movement on this going to close out.