in reply to Parsing a macro language
Assuming all of your data is as clean looking as this example (ie: everything indented nicely, all questions exactly one line, etc..) then written a sequence of regexes to convert this to YAML -- or even directly to perl code -- should be pretty straight forward.
|
|---|