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

Startseite
Nachricht löschen
Nachricht beantworten
Autor: Sheldon Hearn
Datum:  
To: Christian Vogel
CC: exim-users
Betreff: Re: [Exim] String expansion: repeat a character sequence n times
On (2003/11/30 15:11), Christian Vogel wrote:

> >       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".


Duh, that's much simpler than what I came up with.

Nice idea, thanks.

Ciao,
Sheldon.