Josh Close
Josh Close
The parser has been completely rewritten. I just tried your unit test in the existing code and it passes.
The algorithm is to count the occurrences of delimiter values and uses the one that has the most. You can set the values that it looks for using the config...
There could definitely be a smarter algorithm. This is the current code. ```cs private void DetectDelimiter() { var text = new string(buffer, 0, charsRead); while (text.Length > 0) { var...
For example 2, I could ignore everything in between quotes. That might give a more reliable delimiter.
I think I have a good solution. The only thing I'm not sure about is how to incorporate the culture's list separator. If the culture's separator is on every line,...
This is in version 28.0.0 on NuGet.
> Since the text that is being searched / replaced is a buffer with unknown end, it might also be a good idea to match end off string as end...
@TimothyByrd Your issue is because the delimiter defaults to `\r\n` and you have `\n` in your text. I have it fixed where `\r\n`, `\r`, and `\n` are all treated the...
> Please be aware that if the "configuration.CultureInfo.TextInfo.ListSeparator" is found anywhere in the buffered text, it will be detected as "newDelimiter" I don't think this is the case. If you...
> Since the text that is being searched / replaced is a buffer with unknown end, it might also be a good idea to match end off string as end...