Multiline parsing