插件题型稳定版
RegEx Matcher
- Moodle 4.1–5.1
- 更新 2026-01-07
Grades student answers based on a single or multiple regular expressions.
Grades student answers based on a single or multiple regular expressions.
Regexmatch usage examples
This file contains some example regular expressions which can be used within Regexmatch
Some basic examples
Here are a few examples for simple regular expressions with only the default options enabled.
regular expression
matches (not a complete list)
description
test //
test
text
def //
abc , def
The or-operator (`|`) can match either the left or the right
a* //
empty answer, a , aa , aaaaaa
The * matches zero or more times
a+ //
a , aa , aaaaaa
Automated testing supportPrivacy friendlyEarly bird 5.1