Re: [exim] Regex return

Pàgina inicial
Delete this message
Reply to this message
Autor: Peter Bowyer
Data:  
A: exim-users
Assumpte: 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