mirror of
https://github.com/nodejs/node.git
synced 2024-11-21 10:59:27 +00:00
976983960d
Update the ini parser to support some more whitespace cases, turn lines without an equal sign into a "flag" that's just true if set, and support comments.
19 lines
296 B
INI
19 lines
296 B
INI
; a comment
|
|
root=something
|
|
|
|
url = http://example.com/?foo=bar
|
|
|
|
[ the section with whitespace ]
|
|
this has whitespace = yep ; and a comment; and then another
|
|
|
|
just a flag, no value.
|
|
|
|
[section]
|
|
one=two
|
|
Foo=Bar
|
|
this=Your Mother!
|
|
blank=
|
|
|
|
[Section Two]
|
|
something else=blah
|
|
remove = whitespace |