[augeas-devel] inifile and ";" in value

Thomas Mueller thomas at chaschperli.ch
Thu Jun 9 08:09:36 UTC 2011


hi

I have a ini file which need "-quotes around a value because it contains 
a ; in the value.

augeas fails on that file. IMHO this is the cause:

let sto_to_comment     = Util.del_opt_ws ""
                         . store /[^;# \t\n][^;#\n]*[^;# \t\n]|[^;# \t\n]/


and the entry looks like this:

[xyz]
key = "asdf;asdf"


Unfortunatly i don't understand what the sto_to_comment regex really 
does. :/  Just know, that if i delete the ";" in the regex, i can parse 
the inifile with augeas.

- Thomas





More information about the augeas-devel mailing list