Added simplified aliases for answer types, as proposed by Thomas Robb. It is now possible to use these aliases:

SHORTANSWER = SA = MW ;
NUMERICAL = NM ;
MULTICHOICE = MC
This commit is contained in:
kaipe 2003-11-20 18:39:25 +00:00
parent 565e970ee2
commit b63519ebda

View File

@ -46,7 +46,7 @@ define("NUMERICAL_ABS_ERROR_MARGIN", 6);
// Remaining ANSWER regexes
define("ANSWER_TYPE_DEF_REGEX",
'(NUMERICAL)|(MULTICHOICE)|(SHORTANSWER)');
'(NUMERICAL|NM)|(MULTICHOICE|MC)|(SHORTANSWER|SA|MW)');
define("ANSWER_START_REGEX",
'\{([0-9]*):(' . ANSWER_TYPE_DEF_REGEX . '):');