Closed lihaoyi closed 1 year ago
Previous implementation of lineNumberLookup only worked for single \n or \r newlines. This PR fixes it so it also works for \n\r or \r\n newlines and adds some basic tests
lineNumberLookup
\n
\r
\n\r
\r\n
Previous implementation of
lineNumberLookup
only worked for single\n
or\r
newlines. This PR fixes it so it also works for\n\r
or\r\n
newlines and adds some basic tests