Re: [Exim] Regular Expressions in Filters

Αρχική Σελίδα
Delete this message
Reply to this message
Συντάκτης: Marc Perkel
Ημερομηνία:  
Προς: exim-users
Αντικείμενο: 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 ?????