Skip to content

Match last ] in line when parsing Section header - #46

Merged
unknwon merged 1 commit into
go-ini:masterfrom
ijc:master
Jun 29, 2016
Merged

Match last ] in line when parsing Section header#46
unknwon merged 1 commit into
go-ini:masterfrom
ijc:master

Conversation

@ijc

@ijc ijc commented May 8, 2016

Copy link
Copy Markdown

I have a config.ini where section names can contain "]", which leads to parse
errors. While proper support for quoting would be best (issue #32) simply
matching the last "]" rather than the first helps in this case.

I have a config.ini where section names can contain "]", which leads to parse
errors. While proper support for quoting would be best (issue go-ini#32) simply
matching the last "]" rather than the first helps in this case.
@unknwon

unknwon commented Jun 29, 2016

Copy link
Copy Markdown
Member

Thanks!

@unknwon
unknwon merged commit 9831c78 into go-ini:master Jun 29, 2016
unknwon added a commit that referenced this pull request Jun 29, 2016
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.

2 participants