Handle multiline string input parsing with respect to line numbers;