Hunter Haugen
|
2027a0b2ab
Remove empty sections after last setting is removed
|
8 jaren geleden |
Gary Larizza
|
d452e6ca1e
Support a space as a key_val_separator
|
9 jaren geleden |
Mike Dorman
|
c784253096
MODULES-1599 Match only on space and tab whitespace after k/v separator
|
9 jaren geleden |
WhatsARanjit
|
b0fb47d4ec
Added ability to specify section_prefix and section_suffix to accomodate files with sections that don't follow [section_name] format. AIX for example uses section_name: format.
|
9 jaren geleden |
Michael Siroskey
|
a747f6656f
Fixed SETTING_REGEX and COMMENTED_SETTING_REGEX to allow spaces in setting names.
|
9 jaren geleden |
Morgan Haskel
|
15f972d092
Rebase/fix the flexible k/v separator.
|
9 jaren geleden |
Igor Galić
|
3288d415e9
WIP: Allow changing key value separator beyond indentation
|
10 jaren geleden |
Pete Johns
|
c6dcad2657
Simplify COMMENTED_SETTING_REGEX to match SETTING_REGEX
|
10 jaren geleden |
Pete Johns
|
e65be6fb4b
Simplify SECTION_REGEX
|
10 jaren geleden |
Huan Do
|
f343c41cd8
modify test to compare to a hash which better tests the state of each setting
|
10 jaren geleden |
Huan Do
|
681f5c0cb4
fix issue where single characters settings were not being saved.
|
10 jaren geleden |
Pete Johns
|
49960e1c5e
Handle quotation marks in section names
|
10 jaren geleden |
Rob Braden
|
76ad4c47fe
Fix the regex t fix a bad match
|
10 jaren geleden |
Rob Braden
|
e779d12d86
Update settings regexes to support settings with "[", "]" in them
|
10 jaren geleden |
Jesse Newland
|
c058ee5d40
support spaces in sections
|
11 jaren geleden |
Anthony Roy
|
86c57aa480
Adding whitespace capability to section header regex
|
11 jaren geleden |
Ashley Penney
|
32e4b1f2e9
support for whitespaces in settings names (need for smb.conf)
|
11 jaren geleden |
Terry Wilson
|
5904c6f7b4
Allow empty values
|
11 jaren geleden |
Chris Price
|
6b198641ea
Change constants to class variables
|
11 jaren geleden |
Chris Price
|
8064df6d00
Merge pull request #30 from bodepd/fix_nil_indentation
|
11 jaren geleden |
Dan Bode
|
5f71d7f0bd
guard against nil indentation values
|
11 jaren geleden |
Dan Bode
|
2f22483c87
Add purging support to ini file
|
11 jaren geleden |
Chris Price
|
a45ab65930
Add detection for commented versions of settings
|
12 jaren geleden |
Chris Price
|
f0d443fed0
Refactor to clarify implementation of `save`
|
12 jaren geleden |
Chris Price
|
845fa707be
Better handling of whitespace lines at ends of sections
|
12 jaren geleden |
Chris Price
|
c2c26de9b1
Respect indentation / spacing for existing sections and settings
|
12 jaren geleden |
Chris Price
|
cda30a6ab9
Minor tweaks to handling of removing settings
|
12 jaren geleden |
Dan Bode
|
1106d70e88
Add support for removing lines
|
12 jaren geleden |
Reid Vandewiele
|
3829e20c49
Allow values with spaces to be parsed and set
|
12 jaren geleden |
Chris Price
|
8d1fdc5c29
Allow overriding separator string between key/val pairs
|
12 jaren geleden |