regex don't work in lessons of moodle 2.0

regex don't work in lessons of moodle 2.0

wót Luis Vázquez de Lara -
Anzahl Antworten: 2

Hi everybody

I upgraded to Moodle 2.0 and had lessons with shortanswer questions in regex mode. They used to work pretty well. After upgrading, Moodle2.0 don't recognize  any of the regex that worked nicely in Moddle 1.9x. Here som examples that use to work:

.*(calcificaci(ón|ones)|osificaci(ón|ones))+.*(aorta|cartílago(s)|aórtico|ateroma).*/i

.*ateroma.*(?!calcifica(ciones|do|da)).*/i

.*(no|sin)+.*(anormal(idad|es)|patología).*/i

What is wrong?

Thanksin Gedanken

Als Antwort auf Luis Vázquez de Lara

Re: regex don't work in lessons of moodle 2.0

wót Joseph Rézeau -
Nutzerbild von Core developers Nutzerbild von Particularly helpful Moodlers Nutzerbild von Plugin developers Nutzerbild von Testers Nutzerbild von Translators

I'm investigating this problem.

Jospeh