It looks like the parser is currently not able to fully ignore a broken line because of the regex used for detecting the line ending in the file. The current behaviour will move the parser to the first \r char in the line. But for files using CRLF as line endings that is not enough.
This PR changes the detection to consider the combinations \r\n or \r or \n when ignoring a broken line.
It looks like the parser is currently not able to fully ignore a broken line because of the regex used for detecting the line ending in the file. The current behaviour will move the parser to the first
\r
char in the line. But for files using CRLF as line endings that is not enough.This PR changes the detection to consider the combinations
\r\n
or\r
or\n
when ignoring a broken line.