Primitive multiline parsing.