Question types: Regular expression short answer

qtype_regexp
Maintained by Picture of Joseph RézeauJoseph Rézeau, Picture of Nicolas DunandNicolas Dunand
This question type (for the Moodle quiz module) aims at a more advanced system of student's response analysis, through the use of regular expresssions. This question type is an extension of the SHORTANSWER type. It can be used on its own and can also be incorporated into the existing Cloze (embedded) question type.

Regular expression short answer 2.3.0 for Moodle 2.3+

Release notes

---------------------------------------
REGEXP QUESTION TYPE plugin for Moodle
by Joseph Rézeau and Jean-Michel Vedrine
----------------------------------------

-------------------------------
How to install on a moodle site
-------------------------------
If you downloaded this zip archive from the new moodle.org plugins page
1.- Unzip the zip archive to your local computer.
2.- This will give you a folder named "regexp".
3.- GO TO STEP 4 below
---
If you downloaded this zip archive from https://github.com/rezeau
1.- Unzip the zip archive to your local computer.
2.- This will give you a folder named something like "rezeau-moodle_qtype_regexp-ff8c6a1". The end of the name may vary.
3.- ***Rename*** that folder to "regexp".
---
4.- Upload the regexp folder to /question/type/ folder.
5.- Visit your Admin/Notifications page so that the new question type gets installed.


This question type (for the Moodle quiz module) aims at a more advanced system of student's response analysis, through the use of regular expresssions. The new question type is an extension of the SHORTANSWER type. It can be used on its own and can also be incorporated into the existing Cloze (embedded) question type (see DOCUMENTATION).

***IMPORTANT***

If you want to take full advantage of the regexp question *Help* feature, which allows the student to "buy" a letter, you'll have to install 2 more plugins on your moodle installation. Those plugins are 2 question behaviours, located at:
https://github.com/rezeau/moodle-qbehaviour_regexpadaptivewithhelp
and
https://github.com/rezeau/moodle-qbehaviour_regexpadaptivewithhelpnopenalty

OR download from moodle's plugin repository, at http://moodle.org/plugins/browse.php?list=category&id=31

Download both and install to your /question/behaviour/ folder.

DOCUMENTATION

http://docs.moodle.org/23/en/Regular_Expression_Short-Answer_question_type

CONTACT

moodle@rezeau.org
Moodle 2.3, 2.4

Version information

Version build number
2012102900
Version release name
2.3.0 for Moodle 2.3+
Can be updated to
2.5.0 for Moodle 2.5+ (2013040900)
Maturity
Stable version
MD5 Sum
3b143298b97cae16545ca2154ee8f340
Supported software
PHP 5.4, Moodle 2.3, Moodle 2.4
  • This is the latest release for Moodle 2.3
  • This is the latest release for Moodle 2.4

Version control information

Version control system (VCS)
GIT
VCS repository URL
VCS branch
MOODLE_23_STABLE

Default installation instructions for plugins of the type Question types

  1. Make sure you have all the required versions.
  2. Download and unpack the module.
  3. Place the folder (eg "myquestiontype") in the "question/type" subdirectory.
  4. Visit http://yoursite.com/admin to finish the installation