diff --git a/question/type/shortanswer/question.php b/question/type/shortanswer/question.php index df200fff3f1..b1c69ad08d5 100644 --- a/question/type/shortanswer/question.php +++ b/question/type/shortanswer/question.php @@ -92,8 +92,10 @@ class qtype_shortanswer_question extends question_graded_by_strategy $pattern = self::safe_normalize($pattern); $string = self::safe_normalize($string); - // Break the string on non-escaped asterisks. - $bits = preg_split('/(?assertTrue((bool)qtype_shortanswer_question::compare_string_with_wildcard( + '', '**********************************************************************', false)); + } + public function test_is_complete_response() { $question = test_question_maker::make_question('shortanswer');