Johan Corveleyn wrote on Thu, Jul 12, 2012 at 11:28:18 +0200: > I think the only character that causes problems is ']' (which ends the > section name parsing). It seems not too hard to change that parsing
Technically, 0x0A (newline) would likely be a problem too. Not sure that anyone uses it... > function to make it handle some kind of escape sequence for ']' What escape syntax does http://docs.python.org/library/configparser use? > (perhaps ']]'). Would you care to write a patch [2]? > > [1] > http://svn.apache.org/viewvc/subversion/trunk/subversion/libsvn_subr/config_file.c?view=markup > from line 315 onward (the comment says "Read chars until enounter ']' > ..."). > [2] http://subversion.apache.org/docs/community-guide/general.html#patches > > -- > Johan