You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "rootvector2 (via GitHub)" <gi...@apache.org> on 2026/06/16 09:06:02 UTC

Re: [PR] Quote value starting with comment marker in minimal quote mode [commons-csv]

rootvector2 commented on PR #610:
URL: https://github.com/apache/commons-csv/pull/610#issuecomment-4716795291

   Done. The test now prints a real comment with `printComment` first, then the leading-marker value, so the output makes the difference explicit: `; a real comment` stays a comment line while `;comment-like` becomes `";comment-like"`.
   
   Added a couple more cases too: the marker past the first character (`a;b`) is left unquoted since it can't start a comment, and a leading marker in a non-first column (`;c`) is still quoted. The round-trip check confirms the comment is dropped on read and both data records survive.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@commons.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org