new PatternMatchPartDisplay()
Display code for a Numbas.parts.PatternMatchPart
Extends
Members
(static) correctAnswer :observable|RegExp
The correct answer regular expression
Type:
(static) displayAnswer :observable|string
A representative correct answer to display when answers are revealed
Type:
(static) studentAnswer :observable|string
The student's current answer (not necessarily submitted)
Type:
Methods
setName(name)
Set this part's name.
Parameters:
Name | Type | Description |
---|---|---|
name |
string |
- Inherited From:
- Source: