regular expression in short answer question

regular expression in short answer question

Luis Vázquez de Lara
Number of replies: 0

Hi, 

I use Moodle since version 1.9. I have a number of short answer question with regular expressions, that usee to work fine.

I upgraded from 2.3 to 2.8, and the last version doesn´t recognize the negative lookbehind code:

.*(?<!a)normal.*/i

Students are looking at a Rx and the diagnosis is a normal x ray. (in spanish, anormal means abnormal).

This regexp works fine in Moodle 2.3, but not in 2.8.

Please some help 

Luis

평균 등급 : -