Skip to content
This repository was archived by the owner on Jun 28, 2021. It is now read-only.
This repository was archived by the owner on Jun 28, 2021. It is now read-only.

TSV files with quotes are not parsed correctly #323

Open
@moltar

Description

@moltar

Describe the bug

Quotes are not parsed and an error is raised:

Invalid Opening Quote: a quote is found inside a field at line 2

To Reproduce

col1  col2
val1  "val "" 2"
parse(report, {
  delimiter: '\t',
  skipEmptyLines: true,
})

Additional context

Tried suggestion from #289, to set quote value to empty string, but then quotes are not parsed at all:

{
  col1: 'val1',
  col2: '"val "" 2"'
}

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions