Make parseLine function multiline aware

Signed-off-by: Robert Weber <closingtag@gmail.com>