Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

trailing delimiter doesn't create empty field #2

Open
John-Colvin opened this issue Jun 13, 2018 · 2 comments
Open

trailing delimiter doesn't create empty field #2

John-Colvin opened this issue Jun 13, 2018 · 2 comments

Comments

@John-Colvin
Copy link

// fails
unittest
{
    import std.conv;
    auto data = "1,2,\na,b,c";
    auto parsed = csvToArray(data);
    assert(parsed == [[ "1", "2", ""], ["a", "b", "c"]], parsed.text);
}
@John-Colvin
Copy link
Author

ping on this.

It's currently causing us some nuisance.

@quickfur
Copy link
Owner

quickfur commented Sep 3, 2019

Fix checked in. It was a quick fix, not 100% about performance impact. If performance is significantly degraded, please report another issue. Thanks, and sorry for the very very slow response!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants