We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I've been playing with multi-char delimiters (thanks for the feature!!) and came across a weird corner-case:
CsvFormat format = new CsvFormat(); format.setDelimiter("||"); CsvParserSettings settings = new CsvParserSettings(); settings.setFormat(format); CsvParser parser = new CsvParser(settings); List<Record> lines = parser.parseAllRecords(new StringReader("foo||bar||\"||\"||\"foo||bar\"")); System.out.println(lines);
I would expect the above to print:
[foo, bar, ||, foo||bar]
But it actually prints:
[foo, bar, null, null, foo||bar]
I guess there is some ambiguity as to how to interpret \"||\".
\"||\"
The text was updated successfully, but these errors were encountered:
fixed bug reported on issue #404
f34ef02
Thanks for reporting this one. I've fixed it and released version 2.8.5-SNAPSHOT if you want to test it to check.
Sorry, something went wrong.
jbax
No branches or pull requests
I've been playing with multi-char delimiters (thanks for the feature!!) and came across a weird corner-case:
I would expect the above to print:
But it actually prints:
I guess there is some ambiguity as to how to interpret
\"||\"
.The text was updated successfully, but these errors were encountered: