Skip to content
New issue

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

[BUG] Parse Error when scape double quotes #757

Open
1 task
xSTinn opened this issue Sep 27, 2021 · 0 comments
Open
1 task

[BUG] Parse Error when scape double quotes #757

xSTinn opened this issue Sep 27, 2021 · 0 comments
Assignees
Labels

Comments

@xSTinn
Copy link

xSTinn commented Sep 27, 2021

Describe the bug
When i'm trying parse this column ,"\"hola \"\"chao\"", i get an error
Error: Parse Error: expected: ',' OR new line got: 'h'. at 'hola ""c

My configuration is

{ headers: headers, renameHeaders: true, ignoreEmpty: true, discardUnmappedColumns: true, trim: true, delimiter, quote: '"', escape: '\\' }

I need to use multiples double quotes in the column, for that i scape it with \,

Parsing or Formatting?

  • Formatting
  • [ x] Parsing

Expected behavior
Parse column as string "hola ""chao"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants