lipkau / PsIni

Work with INI files in PowerShell using hashtables
http://lipkau.github.io/PsIni
MIT License
151 stars 50 forks source link

some good improvements to Get-IniContent.ps1 #42

Closed ildar-shaimordanov closed 5 years ago

ildar-shaimordanov commented 5 years ago

Hi,

I'd like to use some parts of your project with some improvements that could be useful for others.

-- allow whitespaces in the beginning of comments -- allow whitespaces around sections and key/value/ pairs -- allow quotation for values -- move the important regexp settings out of the Process block

lipkau commented 5 years ago

Merged, but will be released as v3.0, as the change to the quotations marks could result in a different behavior than current users are accustomed to