Re: [Exim] String expansion: repeat a character sequence n t…

Etusivu
Poista viesti
Vastaa
Lähettäjä: Christian Vogel
Päiväys:  
Vastaanottaja: Sheldon Hearn
Kopio: exim-users
Aihe: Re: [Exim] String expansion: repeat a character sequence n times
Hi Sheldon,

>       match {$h_X-Spam-Score:}{${repeat{\\\\+}{MAILBOX_SPAMTAG_THRESH}}} \


have you tried this?
        match {$header}{\+{MAILBOX_SPAMTAG_THRESH,}}


In regular expressions you can use "pattern{1,5}" to mean
"from one up to 5 times the pattern" or pattern{7,} to mean
"minimum of 7 times the pattern".


        Chris


--
Christian Vogel -- chris@???