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

Reserved characters/list requiring quoting? #89

Open
dwertheimer opened this issue Jan 13, 2023 · 1 comment
Open

Reserved characters/list requiring quoting? #89

dwertheimer opened this issue Jan 13, 2023 · 1 comment

Comments

@dwertheimer
Copy link

We have run into some edges with the parsing:

  • colons in values, including colon at the end of the line. YAML says that colons should be legal in values, but not if they have ": " colon space. I guess ":" at the end of the line is failing because of an overly broad regex. But now that I know those case, I can trap for it.
  • a field value cannot start with a "#" but can exist elsewhere in the value
    Both of these edges are fine if you quote them, so I am pre-parsing the data before passing the data to the parser.

But It makes me wonder what other edge cases there are that require quoting and we're just not aware of yet. Is there a definitive list somewhere or can you point me to where in the code I can look to try to create the list?

@jxson
Copy link
Owner

jxson commented Jan 13, 2023 via email

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

No branches or pull requests

2 participants