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

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!

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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