Update multiline parser and add a test/example