Re: [Exim] PCRE regex

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Nico Erfurth
Date:  
À: exim-users
Sujet: Re: [Exim] PCRE regex
Kirill Miazine wrote:

> michael.jakscht@??? doesn't contain "/InfoTL.RZV" and in the second
> case the address contains upper-case letters. Try following regex:
>
> ^([a-zA-Z]+)[_.]([a-zA-Z]+)(\/InfoTL.RZV)?@vit.de$


pcre supports inline options
^(?i)([a-z]+)[_.]([a-z]+)(\/InfoTL.RZV)?@vit.de$

but I thought the rewrite-rules are case insensitive anyway....

Nico