Allow empty setting value

Remove requirement of presence of at least one non-whitespace
character and made regex non greedy to allow empty setting value.