Re: [exim] Regex return

Top Page
Delete this message
Reply to this message
Author: Peter Bowyer
Date:  
To: exim-users
Subject: 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