multi-line parsing