regex don't work in lessons of moodle 2.0

regex don't work in lessons of moodle 2.0

by Luis Vázquez de Lara -
Number of replies: 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?

Thanksthoughtful

Average of ratings: -
In reply to Luis Vázquez de Lara

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

by Joseph Rézeau -
Core developers को तस्बिर Particularly helpful Moodlers को तस्बिर Plugin developers को तस्बिर Testers को तस्बिर Translators को तस्बिर

I'm investigating this problem.

Jospeh

In reply to Joseph Rézeau

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

by Luis Vázquez de Lara -

Thank you so much. I'll keep waiting. By the way, PREG doesn't work either.

Luis