On Thu, Jan 21, 2010 at 11:14:26PM +0100, Gregor Best wrote:

> > I've already have it here:
> > 
> >     { rule = { class = "claws-mail" },
> >       properties = { tag = tags[1][3] } },
> >     { rule = { class = "Claws-mail" },
> >       properties = { tag = tags[1][3] } },
> 
> Use "Claws%-mail" as the class. The strings are regular expressions
> which are matched against the actual client properties, thus the - is
> interpreted as a "from ... to ..." range indicator.

Technically the explanation is wrong---that's not how '-' is
interpreted here. But it is true that it's seen as a kind of regexp operator
(in fact it's more like '*' or '+'), and that to use any regexp operator
literally you need to escape it with a preceding '%'.

-- 
Jim Pryor
[email protected]

-- 
To unsubscribe, send mail to [email protected].

Reply via email to