On 10.07.2013 07:48, Olivier Beytrison wrote: > if ( ADSL-Agent-Remote-Id =~ /(.{0,31})$/ ) { if ( ADSL-Agent-Remote-Id =~ /(.{1,32})$/ ) { that's even better as it won't match an empty attribute (you never know ...) -- Olivier Beytrison Network & Security Engineer, HES-SO Fribourg Mail: olivier at heliosnet.org