We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
parse_key_value("aaa=bbb ccc", accept_standalone_key: false)
✅ could not parse whole line successfully
could not parse whole line successfully
parse_key_value("aaa bbb=ccc", accept_standalone_key: false)
❌ {"aaa bbb": "ccc"}
{"aaa bbb": "ccc"}
parse_key_value("aaa= bbb=ccc", accept_standalone_key: false)
❌ {"aaa": "bbb=ccc"}
{"aaa": "bbb=ccc"}
Context: unexpected output when using parse_logfmt(), which is a thin wrapper around parse_key_value().
parse_logfmt()
parse_key_value()
The text was updated successfully, but these errors were encountered:
Hi @pikeas !
For each of the second two examples, could you provide the output you expected?
Sorry, something went wrong.
No branches or pull requests
A note for the community
Problem
✅
could not parse whole line successfully
❌
{"aaa bbb": "ccc"}
❌
{"aaa": "bbb=ccc"}
Context: unexpected output when using
parse_logfmt()
, which is a thin wrapper aroundparse_key_value()
.The text was updated successfully, but these errors were encountered: