marcusgreen / moodle-qtype_gapfill

Fill in the blanks question type with very easy to learn syntax
6 stars 21 forks source link

Regex discard duplicates issue. #48

Open marcusgreen opened 4 years ago

marcusgreen commented 4 years ago

See here https://moodle.org/mod/forum/discuss.php?d=399346

HelloLudger commented 1 year ago

Hi, today I came across this problem as well... I guess, there is no fix, yet?

A minimal example of the problem is this: {\(1\)|2}

marcusgreen commented 1 year ago

Unfortunately there is no fix. This is partly because of some compromises on usability in the formation of the regular expressions. I tested the examples form the conversations on the Moodle forums quite extensively and could not devise a simple solution short of a new checkbox option. When I return to this I will look at your example. My apologies if this has occupied your time, and I feel I should at least document this issue here https://docs.moodle.org/400/en/Gapfill_question_type