On Thu, Jan 21, 2010 at 09:42:24PM -0500, Jim Pryor wrote:
> 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 '%'.
> [...]

Indeed, I confused that. '-' is for non-greedy matching similar to '+'
as you stated.

-- 
GCS/IT/M d- s+:- a-- C++ UL+++ US UB++ P+++ L+++ E--- W+ N+ o--
K- w--- ?O M-- ?V PS++ PE- Y++ PGP+++ t+ 5 X+ R tv b+++ DI+++
D+++ G+ e h! r y+

    Gregor Best

Attachment: pgpJj8ElOBOOt.pgp
Description: PGP signature

Reply via email to