Hi David,
Yes, please try out my suggested solution and come back to tell us how it works. I am better at providing (concrete) examples than at explaining a complex system. But thanks to your remark I will try to add some more explanations (and ... examples) to my online help files.
All the best,
Joseph
Joseph Rézeau
Мнения, написани от Joseph Rézeau
Hi David,
Not sure I quite understand what you want to do, but the following regexp
[nN] ?\+ ?5
will accept all of those answers:
n + 5
n +5
n+ 5
n+5
N + 5
N +5
N+ 5
N+5
The question mark after a character (here a space) marks it as optional.
Hope that helps. If not, do not hesitate to ask again.
Joseph
EDIT.- The reason why the \s regular expression metacharacter is not accepted in my regular expression question type is that it is equivalent to several different "space characters": ordinary space, tabulation, new line or new page...
Not sure I quite understand what you want to do, but the following regexp
[nN] ?\+ ?5
will accept all of those answers:
n + 5
n +5
n+ 5
n+5
N + 5
N +5
N+ 5
N+5
The question mark after a character (here a space) marks it as optional.
Hope that helps. If not, do not hesitate to ask again.
Joseph
EDIT.- The reason why the \s regular expression metacharacter is not accepted in my regular expression question type is that it is equivalent to several different "space characters": ordinary space, tabulation, new line or new page...
Hi Val,
There can be a number of reasons why you are experiencing these problems. But first of all would you please answer these questions:
- Which moodle version are you using?
- How exactly do you "insert" images into your quizzes? When you are editing a question, do you:
- click on the Image to display: link;
- or, when you are typing the question text itself, within the HTML editor, do you click on the Insert Image icon?
- What type of questions do you have in your quizzes? (multichoice, essay, shortanswer, etc.).
- When you can not see the images being displayed in your quiz, if you right-click on their little missing image icon, and select Properties, what can you make of the URL (web address) of the missing image which you can read? How is that URL related to your former or previous course? to your former or previous site?
Joseph
Exact, Christian, excuse-moi d'avoir répondu un peu trop vite. Mais ça ne répond toujours pas au problème de Pierre...
Joseph
Joseph
Hi Ray,
One good place to get more personal info. about moodlers is to look up their profile description. Well, usually.
Joseph
One good place to get more personal info. about moodlers is to look up their profile description. Well, usually.

Joseph