diff src/constants.h @ 78:f230ed9022e0

Rework questions to new logic for multilne questions
author Andre Heinecke <andre.heinecke@intevation.de>
date Wed, 05 Oct 2016 14:24:53 +0200
parents 9412d60c8ac1
children
line wrap: on
line diff
--- a/src/constants.h	Wed Oct 05 14:24:09 2016 +0200
+++ b/src/constants.h	Wed Oct 05 14:24:53 2016 +0200
@@ -55,9 +55,7 @@
  * A new question is the first unquoted string after the position
  * that is followed after a newline by the word "Answer"
  */
-#define QUESTION_PATTERN "\n\n(.*)\n+(Answer.*$)", QRegularExpression::MultilineOption
-
-#define FIRST_QUESTION_PATTERN "(.*)\n+(Answer.*$)", QRegularExpression::MultilineOption
+#define QUESTION_PATTERN "(Answer.*)"
 
 /**
  * @brief Identifiying line that shows a question is a choice question. */
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)