Skip to content
Snippets Groups Projects
Commit 93ca5920 authored by Chris Lattman's avatar Chris Lattman
Browse files

Fix regex for quiz ids

parent d2583a87
Branches
1 merge request!10Fix regex for quiz ids
......@@ -60,7 +60,7 @@ while True:
# Get module IDs of quiz questions
quiz_questions_matches = findall(
"'fields': {[^_]+_name': '.*[q|Q]uiz.*',\s+'xml_attributes': [^}]+}}",
"'fields': {\s+'children': \[\s+\[\s+'html',[^_]+_name': '.*[q|Q]uiz.*',\s+'xml_attributes': [^}]+}}",
formatted_document
)
question_id_to_quiz_id = {}
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment