[parser] Remove '\r' too with LineParser.