# HG changeset patch # User Andre Heinecke # Date 1460726144 -7200 # Node ID b574990e90a56e5fda97d57581bf4d630927aa97 # Parent ca66763b65247255276d8628fb21535ce1d1dbcb Update Format spec for additional handling diff -r ca66763b6524 -r b574990e90a5 README --- a/README Mon Apr 11 14:59:18 2016 +0200 +++ b/README Fri Apr 15 15:15:44 2016 +0200 @@ -26,8 +26,12 @@ - A Question is defined by last unquoted string before a line starting with "Answer" - A multiple choice Answer are all strings that match the pattern - "\"(.*)\",(\\d+),(\\d+\\.\\d+)" in all lines following a line + "\"(.*)\",(\\d+)?,(\\d+\\.+\\d+)?" in all lines following a line "Answer,Votes,Percent" before the next Question. + - A special case is made for lines in a multiple choice block that + contain multiple comma seperated quoted strings. In that case the + line is interpreted as each quotet string containing an unfilled + answer. - A free text answer is a Quoted string following a Question and the single line "Answer". All text before the next question is interpreted as free text responses.