Re: [Exim] Regular Expressions in Filters

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Marc Perkel
Date:  
À: exim-users
Sujet: Re: [Exim] Regular Expressions in Filters

Philip Hazel wrote:

>
> > "The quick brown fox jumps over the lazy dog."
> >
> > I want a regular expression that tests for "quick brown" and "jumps" and
> > "lazy" and it's better if the order doesn't matter. Must contail all
> > three phrases.
> >
> > How do I do this?
>
> (?=quick brown)(?=jumps)(?=lazy)
>
> That is, three lookahead assertions.


That doesn't seem to work. Is there something I'm missing?

if $message_body: matches ?????