Regular Expression, Quiz, Moodle 2.0

Regular Expression, Quiz, Moodle 2.0

by ben reynolds -
Number of replies: 4
I have a question about Reg Ex questions, Quiz, and 2.0

Before I move a large number of reg ex questions from Lesson to the more user friendly Quiz, will 2.0 change anything about reg ex questions for Quiz?
Average of ratings: -
In reply to ben reynolds

Re: Regular Expression, Quiz, Moodle 2.0

by Tim Hunt -
Picture of Core developers Picture of Documentation writers Picture of Particularly helpful Moodlers Picture of Peer reviewers Picture of Plugin developers
Quiz in 1.9 does not support the rex-ex question type, although there is one in the modules and plugins database that you can install. The plan is to add this to Moodle 2.0, but there are a lot of other things on my todo list to do first.
In reply to ben reynolds

Re: Regular Expression, Quiz, Moodle 2.0

by Oleg Sychev -

You can choose regex questions from modules and plugins database, but first you need to analyze you expressions and needs to correctly choose the question type for regex you want.

You may choose either well known Josephs Rezeau regex question type, that have some nice functionality about hints but have some restrictions on regex syntax and complexity, or our preg question type that is more similar to shortanswer but can handle every regex that PHP preg_match function can.

In reply to ben reynolds

Re: Regular Expression, Quiz, Moodle 2.0

by ben reynolds -
I'm coming back to this question to rephrase it.

Will there be a regular expression question type in Moodle 2.0 Quiz?

Tim Hunt added a comment - 01/May/10 03:24 PM
I now don't want to add new question types until after my new question engine is complete (MDL-20636).

suggests that there will not be.

Just trying to plan what to do/when to move/and how to play with our demo 2.0 site.

In reply to ben reynolds

Re: Regular Expression, Quiz, Moodle 2.0

by Tim Hunt -
Picture of Core developers Picture of Documentation writers Picture of Particularly helpful Moodlers Picture of Peer reviewers Picture of Plugin developers
No, it won't be in standard Moodle. Hopefully the third-party question type will up updated for Moodle 2.0.

And then again for my new question engine, and hopefully everything can end up in Moodle 2.1.