Re: [exim] Regex help

Página superior
Eliminar este mensaje
Responder a este mensaje
Autor: Magnus Holmgren
Fecha:  
A: exim-users
Asunto: Re: [exim] Regex help
On Monday 11 December 2006 15:45, Torsten Mueller wrote:
> I am loking for a condition, that better checks valid
> recipients.
> - the first chars of the local_part should be numeric.
> - the length of the numeric chars should be at least 8
> - last chars of local_part should be '-robot'


Sounds simple enough.

^\d{8,}-robot$

Escape properly.

-- 
Magnus Holmgren        holmgren@???
                       (No Cc of list mail needed, thanks)


"Exim is better at being younger, whereas sendmail is better for
Scrabble (50 point bonus for clearing your rack)" -- Dave Evans