Skip to content

Double Colon "::" in First Column Confuses CSV #175

@jeetsukumaran

Description

@jeetsukumaran

Given a file double colon characters in the first field, e.g.

col1::col1cont,col2,col3a::col3b::col3c,col4
col1::col1cont,col2,col3a::col3b::col3c,col4

I would expect to see:

col1::col1cont|col2|col3a::col3bcol3c|col4
col1::col1cont|col2|col3a::col3bcol3c|col4

However, this plugin produces:

 col1| | col1cont,col2,col3a| | col3b| | col3c,col4
 col1| | col1cont,col2,col3a| | col3b| | col3c,col4
 col1| | col1cont,col2,col3a| | col3b| | col3c,col4
 col1| | col1cont,col2,col3a| | col3b| | col3c,col4

It seems to interpret the colon as field delimiters and ignores the comma.

Same if there tabs in the file. In more complex files, it gets really confused, respecting some commas/tabs as field delimiters and ignoring others.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions