Re: [exim] Regex return

Αρχική Σελίδα
Delete this message
Reply to this message
Συντάκτης: Peter Bowyer
Ημερομηνία:  
Προς: exim-users
Αντικείμενο: Re: [exim] Regex return
Silmar A. Marca wrote:

>How to return the word in "regex =" ?
>I need to return not a expression, but a Worlds found...
>
>Example:
>deny   message = Link is deny: "$WORLD"
>       regex   =
>^(?i)(.*?)(http[s]?|ftp):://([^\\s]*)/([^\\s]*?)(exe|pif)(.*?)\$

>
>

Does $regex_match_string do what you want?

http://duncanthrax.net/exiscan-acl/exiscan-acl-spec.txt

Peter