Skip to content

Parse escaped quotes #17

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

Open
Ca-moes opened this issue Oct 17, 2023 · 0 comments
Open

Parse escaped quotes #17

Ca-moes opened this issue Oct 17, 2023 · 0 comments

Comments

@Ca-moes
Copy link

Ca-moes commented Oct 17, 2023

This Issue comes in addition to #2

ltsv can be used as a good option for parsing key values, but it has a problem that is also present in this repo.

If the string is escaped, the parsing is incorrect:

msg=\"unable to list rules\"

Becomes: msg=\"unable

If can also be from my part, because on my side the <source> escapes these inner characters, so it should be the parser's work to recognize them and set the boundaries for the value.

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

1 participant