mirror of https://github.com/lukechilds/node.git
Browse Source
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.v0.7.4-release
isaacs
15 years ago
committed by
Ryan Dahl
3 changed files with 43 additions and 9 deletions
@ -1,10 +1,18 @@ |
|||
; 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= |
|||
blank= |
|||
|
|||
[Section Two] |
|||
something else=blah |
|||
|
Loading…
Reference in new issue