Re: [exim] Regex return

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Peter Bowyer
Date:  
À: exim-users
Sujet: 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