mirror of
https://github.com/alexmickelson/canvasManagement.git
synced 2026-03-26 23:58:31 -06:00
fixed multiline regex
This commit is contained in:
@@ -67,7 +67,8 @@ Description: {Description}
|
||||
var settings = splitInput[0];
|
||||
var quizWithoutQuestions = getQuizWithOnlySettings(settings);
|
||||
|
||||
var questions = splitInput[1..]
|
||||
var rawQuestions = splitInput[1..];
|
||||
var questions = rawQuestions
|
||||
.Where(str => !string.IsNullOrWhiteSpace(str))
|
||||
.Select((q, i) => LocalQuizQuestion.ParseMarkdown(q, i))
|
||||
.ToArray();
|
||||
|
||||
Reference in New Issue
Block a user