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

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Christian Vogel
Date:  
À: Sheldon Hearn
CC: exim-users
Sujet: 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@???