JuliaIO / JuliaIO/ConfParser.jl
Don't parse commas as an array
Nobody has claimed this yet.
- Dominant language
- Julia
- Stars
- 41
- Forks
- 17
- PR merge metrics
- No merged PRs in 30d
Description
Values containing commas are always split into an array. I wish there was a way to escape commas or treat the whole value as a literal?
e,g. key="a, b, c" creates an array ["a", "b", "c"]; whereas the output wanted should be the literal "a, b, c".
See https://en.wikipedia.org/wiki/INI_file # Quoted values
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start at the parser entry point that handles comma-separated values and compare its behavior with the quoted-values guidance in the linked INI specification. Decide how literal comma-containing values should be represented, then add coverage for key="a, b, c" and verify that the parsed result is the single literal value rather than an array.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- julia
- Domain
- tooling
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100