Reverse pattern match

Question types ::: qtype_pmatchreverse
Maintained by TimTim Hunt, Anupama Sarjoshi
A question type where the teacher provides some example sentences, and the student has to write a pmatch expression to match those sentences.
Latest release:
111 sites
185 downloads
14 fans
Current versions available: 6

This question type complements the existing Pattern match question type. Learning to make pattern match questions is hard. In this question type, the teacher provides a set of sentances that should, or should not, be match, and the student has to construct a pmatch expression that does that. It is hoped that this question type will provide a useful tool for teaching pmatch syntax.

Screenshots

Screenshot #0
Screenshot #1

Contributors

Tim
Tim Hunt (Lead maintainer)
Anupama Sarjoshi: Developer
Please login to view contributors details and/or to contact them

Comments RSS

Comments

  • Steven Quella
    Wed, 17 July 2013, 9:49 AM
    A teacher was trying to restore a course that he developed in Moodle 2.2.1 and got the following error:

    Restore method process_pmatchreverse is missing. It must be defined by a
    developer.

    I tried to copy the restore and backup scripts provided by the plugin into the /moodle/backup/moodle2 directory, and the same error.

    Our moodle site is version 2.5.1+(20130712) and these versions of pmatchreverse -(2013041300) and pmatch-(2013070100)
    If you could help us with that it would be greatly appreciated.
    Thank you
  • Tim
    Wed, 17 July 2013, 3:56 PM
    This is a known bug, fixed in the lastest version from github, which you can download from https://github.com/timhunt/moodle-qtype_pmatchreverse/archive/master.zip.

    I guess I should upload the latest version here.
  • Brian Capouch
    Wed, 1 Jan 2014, 6:48 AM
    Just a note of 12/31/13: The buggy module is still the "official" one on the download site, and the github version has to be munged (wrong directory name) before it can be loaded. Also, both modules have the identical version number, so you can't tell from looking whether you have the buggy or the fixed version installed.
  • Tim
    Wed, 8 Jan 2014, 10:16 PM
    I have now updated the version here.
  • Tim
    Thu, 11 June 2020, 4:10 AM
    This works with Moodle 3.9.
Please login to post comments