Pattern match

Question types ::: qtype_pmatch
Maintained by Tim at Lone Pine Koala SanctuaryTim Hunt, Phil Butcher
Allows a short response of one or a few sentences that is graded by comparing against various model answers, which are described using the OU's pattern match syntax.

Pattern match 1.9 for Moodle 2.6+

Moodle 2.6, 2.7, 2.8, 2.9, 3.0, 3.1
Released: Thursday, July 9, 2015, 6:52 PM
Pattern match question type

This question type was created by Jamie Pratt, working for the Open University

Students can enter a response of up to 20 words, which is then graded by matching
it against vaious model answers expressed using a sophisticated patten
matching algorithm. See

This question type is has been available since Moodle 2.1+. This version is
compatible with Moodle 2.5+.

You will want to install superscript/subscript editor plugin
(see This makes the superscript
and subscript options in the question editing form. If the editor is not
installed the question type can still be used but these options will not be

This question type should be installed like any other Moodle add-on. See

To install the question type using git, type this command in the root of your
Moodle install

git clone git:// question/type/pmatch
echo /question/type/pmatch/ >> .git/info/exclude
git clone git:// lib/editor/supsub
echo /lib/editor/supsub/ >> .git/info/exclude

Version information

Version build number
Version release name
1.9 for Moodle 2.6+
Stable version
MD5 Sum
Supported software
Moodle 2.6, Moodle 2.7, Moodle 2.8, Moodle 2.9, Moodle 3.0, Moodle 3.1

Version control information

Version control system (VCS)
VCS repository URL
VCS branch
VCS tag

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 to finish the installation