TwP / inifile

Native Ruby package for reading and writing INI files
http://codeforpeople.rubyforge.org/inifile
95 stars 47 forks source link

Unescaped section headers should be valid values #25

Closed TwP closed 10 years ago

TwP commented 10 years ago
[section]
var=[value]

Here [value] should be a valid value and not another section header. This PR ensures we only scan for section headers at the beginning of a line.