go-ini/ini

custom delimiter of comments

kkqy opened this issue · 0 comments

Describe the feature

I am trying parsing an nonstandard ini file that contains some nonstandard comments like:

\\This is a section
[Section]
name=tool

But it return an error :
key-value delimiter not found: \\This is a section

Describe the solution you'd like

I want to have an option that can custom the delimiter of comments.

Describe alternatives you've considered

I checked the document and find that we can custom delimiter of key-value, so I think it shoulds can custom a delimiter of comments too.

Additional context

No response

Code of Conduct

  • I agree to follow this project's Code of Conduct