Re: [Exim] PCRE regex

Top Pagina
Delete this message
Reply to this message
Auteur: Nico Erfurth
Datum:  
Aan: exim-users
Onderwerp: 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