On 12 July 2012 17:28, Johan Corveleyn <jcor...@gmail.com> wrote:

> I think the only character that causes problems is ']' (which ends the
> section name parsing). It seems not too hard to change that parsing
> function to make it handle some kind of escape sequence for ']'
> (perhaps ']]'). Would you care to write a patch [2]?
>

I doubt I'll have time to write a patch any time in the next few days, but
I'll file the bug now and take a look at writing a patch next week.

I'd suggest avoiding inconsistencies like the double-]. I certainly
wouldn't think to try that. It might be better to use a backslash sequence,
or simply capture everything up to the *last* "]" on a line instead of the
first. I don't think that would be more complex than needing to detect a
"]]" ...but then, I haven't written the patch :P

— Jason

Reply via email to