Skip to content

Support for mutiline values and optional support for mid-line comments - #10

Closed
sleepywill wants to merge 3 commits into
JuliaIO:masterfrom
sleepywill:master
Closed

sleepywill wants to merge 3 commits into
JuliaIO:masterfrom
sleepywill:master

Conversation

@sleepywill

Copy link
Copy Markdown
Contributor

Support for mid-line comments is optional - implemented in read() using a third parameter defaulting to false.
This is my first attempt to use GitHub - please be patient...

@kmsquire

kmsquire commented Aug 8, 2015

Copy link
Copy Markdown

Hi @sleepywill, can you add some tests for the new functionality? I guess this would mean adding relevant lines to test/test.ini, and reading them in test/test.jl.

@sleepywill

Copy link
Copy Markdown
Contributor Author

Done. Do I have to issue another pull request?

@sleepywill

Copy link
Copy Markdown
Contributor Author

I modified some the the tests - didn't like how I originally did it. Overly complex for no good reason.

@ViralBShah

ViralBShah commented Nov 14, 2026 •

Copy link
Copy Markdown
Member

Thank you for this, and sorry it sat for so long. Multi-line values and optional mid-line comments are now in #38, which modernizes IniFile.jl for 0.6.0. One difference: continuation lines follow Python's configparser and are marked by indentation rather than a trailing backslash, since a trailing \ would break Windows paths like C:\data\. Your test cases are adapted in test/test.ini, and you're credited as a co-author on the commit that adds these features. Closing in favor of #38.

@ViralBShah ViralBShah closed this Nov 14, 2026
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

Successfully merging this pull request may close these issues.

3 participants