Escapable list delimiters
Nobody has claimed this yet.
Assessment
- Difficulty
- 5/5
- Estimated time
- Over a week
- Newbie friendliness
- 25/100
Research direction
Start by locating the inline array property parsing and serialization entry points, then inspect how separators are currently stored and read. Compare the proposed doubled-separator behavior with the ambiguity described in the issue, and define unambiguous escaping rules and cases that tests should cover before implementation.
Written by the indexing model from the issue text.
Description
The inline array properties have a separator so that multiple elements can be stored as a simple text, but what if one of those elements needs to have the separator as text? There should be an escaping mechanism. I think the easiest would be to escape separators by doubling them (à la Excel "").
I don't want to use backslashes because the resource's format (like YAML) might already require it to be escaped, and we then have to decide what happens if a backslashes is not followed by the separator.
Edit: Downside to "double-escaping" is if the character appears three times, it's ambiguous which one acts as escaped and which one is a delimiter, respectively under this system, it's impossible to start a string with the delimiter char.
- Dominant language
- Java
- Stars
- 44
- Forks
- 21
- Avg merge
- 2d 2h
- Merged PRs (30d)
- 3
Contributor guide
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.
More from AuthMe/ConfigMe
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
-
Difficulty 3/5 1-2 days Newbie friendliness 65/100
-
architecture
Difficulty 4/5 3-5 days Newbie friendliness 38/100
Similar issues
-
bug
Difficulty 1/5 Under an hour Newbie friendliness 90/100
apache/cloudstack#14222 ·
-
[BUG]茶杯方块在取茶时会引发崩溃 Open
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
-
1.0.0-alpha2 Type/Improvement
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
wso2/dpdp-accelerator#272 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
infinispan/infinispan#18150 ·
-
area/frontend
Difficulty 2/5 1-3 hours Newbie friendliness 65/100