

Suppose your question was "What are the colors of the French flag?". It is not possible to give complete examples of the vast possibilities offered by this system, and the following are just some possibilities. This question type is not well-suited to questions requiring mathematical, scientific, programming "languages".Ĭorrect answer matching a regular expression pattern The RegExp Short Answer question is meant to be used with questions requiring natural language answers. However, the RegExp system gives you access to a more powerful system for analysing the student's answers with the aim of providing more relevant immediate feedback. Like the Short Answer question, the RegExp Short Answer question expects the respondent to answer an "open" question with a word or a short phrase. The documentation for the "Use regular expressions" option in the Lesson module is to be found at: Short answer analysis.It is different from the "Use regular expressions" option in the Lesson module.


The RegExp Short Answer question described in this documentation page is a 3rd-party plugin, which allows you to create questions for the Quiz activity.11.4 See also these other Moodle question types based on regular expressions.11.3 Learn more about regular expressions.10 Inserting RegExp sub-questions in Cloze type questions.5 Editing a regular expression question.4 Detecting missing required words or character strings.2 Correct answer matching a regular expression pattern.
