list separator in config entries
Oswald Buddenhagen
ossi at kde.org
Mon Oct 8 11:05:28 BST 2007
On Mon, Oct 08, 2007 at 11:46:54AM +0200, Andreas Hartmetz wrote:
> 2007/10/8, Oswald Buddenhagen <ossi at kde.org>:
> > now comes the desktop entry spec. it says this:
> > "The multiple values should be separated by a semicolon. Those keys
> > which have several values should have a semicolon as the trailing
> > character. Semicolons in these values need to be escaped using \;."
> >
> > great. obviously, it does not mandate the separation of levels i
> > postulated. [...]
> >
> Everything works fine if you escape the escape char - this is in the
> spec IIRC.
>
hmm? i quoted the spec literally - there is nothing beyond it.
> The parser just needs to be smart enough to recognize '\\;' as
> "escaped backslash-semicolon" instead of "oh, there's a \, so let's
> parse that and uh, we also have a single backslash in front of it".
>
this doesn't make any sense. formulate clear rules and provide complex
examples to prove that they don't break down in corner cases.
--
Hi! I'm a .signature virus! Copy me into your ~/.signature, please!
--
Chaos, panic, and disorder - my work here is done.
More information about the kde-core-devel
mailing list